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