fix: change config path
This commit is contained in:
parent
519426ba7d
commit
a57e575a82
|
@ -13,7 +13,7 @@ func Init(router interfaces.APIRegistry) error {
|
||||||
func registerProtocolSubdomain(portal interfaces.Portal, mux *httprouter.Router, name string) {
|
func registerProtocolSubdomain(portal interfaces.Portal, mux *httprouter.Router, name string) {
|
||||||
|
|
||||||
router := portal.ApiRegistry().Router()
|
router := portal.ApiRegistry().Router()
|
||||||
domain := portal.Config().GetString("domain")
|
domain := portal.Config().GetString("core.domain")
|
||||||
|
|
||||||
(*router)[domain+"."+name] = mux
|
(*router)[domain+"."+name] = mux
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue