mirror of
https://github.com/allinssl/allinssl.git
synced 2025-12-15 09:55:37 +08:00
【调整】可在设置中将安全入口设置为空
This commit is contained in:
@@ -103,7 +103,7 @@ func Save(setting *Setting) error {
|
||||
public.TimeOut = setting.Timeout
|
||||
restart = true
|
||||
}
|
||||
if setting.Secure != "" && setting.Secure != public.Secure {
|
||||
if setting.Secure != public.Secure {
|
||||
s.Where("key = 'secure'", []interface{}{}).Update(map[string]interface{}{"value": setting.Secure})
|
||||
public.TimeOut = setting.Timeout
|
||||
restart = true
|
||||
|
||||
Reference in New Issue
Block a user