Browse Source

port change to 2053

MHSanaei 2 years ago
parent
commit
d7ca8ee69d
2 changed files with 3 additions and 3 deletions
  1. 2 2
      web/assets/js/model/models.js
  2. 1 1
      web/service/setting.go

+ 2 - 2
web/assets/js/model/models.js

@@ -161,7 +161,7 @@ class AllSetting {
 
     constructor(data) {
         this.webListen = "";
-        this.webPort = 54321;
+        this.webPort = 2053;
         this.webCertFile = "";
         this.webKeyFile = "";
         this.webBasePath = "/";
@@ -171,7 +171,7 @@ class AllSetting {
         this.tgRunTime = "";
         this.xrayTemplateConfig = "";
 
-        this.timeLocation = "Asia/Shanghai";
+        this.timeLocation = "Asia/Tehran";
 
         if (data == null) {
             return

+ 1 - 1
web/service/setting.go

@@ -23,7 +23,7 @@ var xrayTemplateConfig string
 var defaultValueMap = map[string]string{
 	"xrayTemplateConfig": xrayTemplateConfig,
 	"webListen":          "",
-	"webPort":            "54321",
+	"webPort":            "2053",
 	"webCertFile":        "",
 	"webKeyFile":         "",
 	"secret":             random.Seq(32),