From a54341dd682101870fc52f6b266b3b52bab76b2e Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 11 Jan 2024 23:22:56 -0500 Subject: [PATCH] fix: subdomain comes before domain --- api/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/api.go b/api/api.go index edfd76a..50dbceb 100644 --- a/api/api.go +++ b/api/api.go @@ -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 }