fix setting
This commit is contained in:
parent
572d912858
commit
c565a429af
@ -93,7 +93,7 @@ func (a *SettingController) getDefaultSettings(c *gin.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
subTLS := false
|
subTLS := false
|
||||||
if result["subKeyFile"].(string) != "" || result["subCertFile"].(string) != "" {
|
if result["subKeyFile"] != "" || result["subCertFile"] != "" {
|
||||||
subTLS = true
|
subTLS = true
|
||||||
}
|
}
|
||||||
result["subTLS"] = subTLS
|
result["subTLS"] = subTLS
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user