mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-12-18 13:14:39 +03:00
fix setting
This commit is contained in:
@@ -93,7 +93,7 @@ func (a *SettingController) getDefaultSettings(c *gin.Context) {
|
||||
}
|
||||
|
||||
subTLS := false
|
||||
if result["subKeyFile"].(string) != "" || result["subCertFile"].(string) != "" {
|
||||
if result["subKeyFile"] != "" || result["subCertFile"] != "" {
|
||||
subTLS = true
|
||||
}
|
||||
result["subTLS"] = subTLS
|
||||
|
||||
Reference in New Issue
Block a user