fix: change config path

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

View File

@ -13,7 +13,7 @@ func Init(router interfaces.APIRegistry) error {
func registerProtocolSubdomain(portal interfaces.Portal, mux *httprouter.Router, name string) {
router := portal.ApiRegistry().Router()
domain := portal.Config().GetString("domain")
domain := portal.Config().GetString("core.domain")
(*router)[domain+"."+name] = mux
}