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-09-13 10:21:37 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-09-13 10:21:37 +0300
commitd23a7f81ef4ec0781574a0f2776effeefe256673 (patch)
tree6490f3d64df2bfdf2982065fe6f25d8430160741 /web/assets/js
parent2e363445fcc5e6582a053dbe19d2715afa80da3d (diff)
freedom - default value for timeout
I've seen many users make the mistake of not setting the timeout value in Xray, which causes errors. Then, they mistakenly assume that 3x-ui has a bug.
Diffstat (limited to 'web/assets/js')
-rw-r--r--web/assets/js/model/outbound.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js
index dc22a5b1..37dd9703 100644
--- a/web/assets/js/model/outbound.js
+++ b/web/assets/js/model/outbound.js
@@ -851,7 +851,7 @@ Outbound.Settings = class extends CommonClass {
Outbound.FreedomSettings = class extends CommonClass {
constructor(
domainStrategy = '',
- timeout = '',
+ timeout = 10,
redirect = '',
fragment = {},
noise = {}
@@ -901,7 +901,7 @@ Outbound.FreedomSettings.Fragment = class extends CommonClass {
}
};
Outbound.FreedomSettings.Noise = class extends CommonClass {
- constructor(packet = '', delay = '') {
+ constructor(packet = 'rand:100-200', delay = '10-20') {
super();
this.packet = packet;
this.delay = delay;