From cff59852d69a42dde5bc7f18319ad142833d3086 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Sat, 26 Mar 2022 22:04:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= 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 2ebd8e93..c8dda0e1 100644 --- a/internal/db/models/http_web_dao.go +++ b/internal/db/models/http_web_dao.go @@ -94,7 +94,7 @@ func (this *HTTPWebDAO) ComposeWebConfig(tx *dbs.Tx, webId int64, cacheMap *util return nil, nil } - config := &serverconfigs.HTTPWebConfig{} + var config = &serverconfigs.HTTPWebConfig{} config.Id = webId config.IsOn = web.IsOn