fix: subdomain comes before domain
This commit is contained in:
parent
a57e575a82
commit
a54341dd68
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue