diff --git a/cmd/dashboard/controller/setting.go b/cmd/dashboard/controller/setting.go index 0a03787..333b321 100644 --- a/cmd/dashboard/controller/setting.go +++ b/cmd/dashboard/controller/setting.go @@ -45,8 +45,8 @@ func listConfig(c *gin.Context) (model.SettingResponse[any], error) { Oauth2Providers: config.Oauth2Providers, } if authorized { - config.TLS = singleton.Conf.TLS - config.InstallHost = singleton.Conf.InstallHost + configForGuests.TLS = singleton.Conf.TLS + configForGuests.InstallHost = singleton.Conf.InstallHost } conf = model.SettingResponse[any]{ Config: configForGuests, diff --git a/service/singleton/frontend-templates.yaml b/service/singleton/frontend-templates.yaml index 8e7764a..95a6c52 100644 --- a/service/singleton/frontend-templates.yaml +++ b/service/singleton/frontend-templates.yaml @@ -2,7 +2,7 @@ name: "OfficialAdmin" repository: "https://github.com/nezhahq/admin-frontend" author: "nezhahq" - version: "v1.5.6" + version: "v1.5.7" isadmin: true isofficial: true - path: "user-dist"