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
path: root/web
diff options
context:
space:
mode:
authorMHSanaei <mc.sanaei@gmail.com>2023-02-09 22:47:12 +0300
committerMHSanaei <mc.sanaei@gmail.com>2023-02-09 22:47:12 +0300
commitd7ca8ee69d5903d8321c6a336a6d1d586e482244 (patch)
tree6c3b993df9a4660835015095755c340347862af0 /web
parent997eb90f94ab4374d27e60b8e111d111a6226b56 (diff)
port change to 2053
Diffstat (limited to 'web')
-rw-r--r--web/assets/js/model/models.js4
-rw-r--r--web/service/setting.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/web/assets/js/model/models.js b/web/assets/js/model/models.js
index 768bf4de..c2404d3b 100644
--- a/web/assets/js/model/models.js
+++ b/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
diff --git a/web/service/setting.go b/web/service/setting.go
index a0592e93..7c42b5fe 100644
--- a/web/service/setting.go
+++ b/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),