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:
authorHamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com>2023-05-31 01:59:59 +0300
committerHamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com>2023-05-31 01:59:59 +0300
commitc565a429afd8f3fb1a9aa40c8db696090b91fd54 (patch)
treead4813ed7f0c8caf9ba08fa3d0681852a8877f8e
parent572d912858a1cea29408e253c3cb19146e5bd0a3 (diff)
fix setting
-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