From 310bc107adb0f6d777f7f5de002fb3a7fed02701 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Thu, 10 Aug 2023 11:27:05 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=99=E6=80=81=E5=88=86=E5=8F=91=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E4=BE=8B=E5=A4=96URL=E3=80=81=E9=99=90=E5=88=B6URL?= =?UTF-8?q?=E3=80=81=E6=8E=92=E9=99=A4=E9=9A=90=E8=97=8F=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E7=AD=89=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/db/models/http_web_dao.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/db/models/http_web_dao.go b/internal/db/models/http_web_dao.go index fe70141f..26db366a 100644 --- a/internal/db/models/http_web_dao.go +++ b/internal/db/models/http_web_dao.go @@ -101,7 +101,7 @@ func (this *HTTPWebDAO) ComposeWebConfig(tx *dbs.Tx, webId int64, isLocationOrGr // root if IsNotNull(web.Root) { - var rootConfig = &serverconfigs.HTTPRootConfig{} + var rootConfig = serverconfigs.NewHTTPRootConfig() err = json.Unmarshal(web.Root, rootConfig) if err != nil { return nil, err