Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web/controller')
-rw-r--r--web/controller/setting.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/controller/setting.go b/web/controller/setting.go
index 306563a2..cd509293 100644
--- a/web/controller/setting.go
+++ b/web/controller/setting.go
@@ -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