mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
fix: install host
This commit is contained in:
parent
dc957a3b81
commit
a550709c95
@ -45,8 +45,8 @@ func listConfig(c *gin.Context) (model.SettingResponse, error) {
|
||||
}
|
||||
|
||||
if !isAdmin {
|
||||
conf.Config.TLS = false
|
||||
conf.Config.InstallHost = conf.InstallHost
|
||||
conf.Config.TLS = singleton.Conf.TLS
|
||||
conf.Config.InstallHost = singleton.Conf.InstallHost
|
||||
}
|
||||
|
||||
conf.Config.Language = strings.Replace(conf.Config.Language, "_", "-", -1)
|
||||
|
Loading…
Reference in New Issue
Block a user