fix: subdomain comes before domain

This commit is contained in:
Derrick Hammer 2024-01-11 23:22:56 -05:00
parent a57e575a82
commit a54341dd68
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -15,5 +15,5 @@ func registerProtocolSubdomain(portal interfaces.Portal, mux *httprouter.Router,
router := portal.ApiRegistry().Router()
domain := portal.Config().GetString("core.domain")
(*router)[domain+"."+name] = mux
(*router)[name+"."+domain] = mux
}