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:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-07-01 22:11:42 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-07-01 22:11:42 +0300
commitf9792632d43be95037dbd1c6e09994ca765e3c88 (patch)
tree6e37c2b4e380f3cb90fc9286b509faa295d7ba35
parenta9ec24f811fd8abda99173a87335bcf4819d9613 (diff)
pageSize default to 50
-rw-r--r--web/assets/js/model/setting.js2
-rw-r--r--web/html/xui/inbounds.html2
-rw-r--r--web/service/setting.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/web/assets/js/model/setting.js b/web/assets/js/model/setting.js
index d9d0f4d4..4035ca6e 100644
--- a/web/assets/js/model/setting.js
+++ b/web/assets/js/model/setting.js
@@ -8,7 +8,7 @@ class AllSetting {
this.webKeyFile = "";
this.webBasePath = "/";
this.sessionMaxAge = "";
- this.pageSize = 0;
+ this.pageSize = 50;
this.expireDiff = "";
this.trafficDiff = "";
this.remarkModel = "-ieo";
diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html
index d756c02e..50630f51 100644
--- a/web/html/xui/inbounds.html
+++ b/web/html/xui/inbounds.html
@@ -664,7 +664,7 @@
tgBotEnable: false,
showAlert: false,
ipLimitEnable: false,
- pageSize: 0,
+ pageSize: 50,
isMobile: window.innerWidth <= 768,
},
methods: {
diff --git a/web/service/setting.go b/web/service/setting.go
index bc5aeaa4..31fc1429 100644
--- a/web/service/setting.go
+++ b/web/service/setting.go
@@ -33,7 +33,7 @@ var defaultValueMap = map[string]string{
"secret": random.Seq(32),
"webBasePath": "/",
"sessionMaxAge": "0",
- "pageSize": "0",
+ "pageSize": "50",
"expireDiff": "0",
"trafficDiff": "0",
"remarkModel": "-ieo",