mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-12-18 21:24:41 +03:00
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.
This commit is contained in:
@@ -851,7 +851,7 @@ Outbound.Settings = class extends CommonClass {
|
|||||||
Outbound.FreedomSettings = class extends CommonClass {
|
Outbound.FreedomSettings = class extends CommonClass {
|
||||||
constructor(
|
constructor(
|
||||||
domainStrategy = '',
|
domainStrategy = '',
|
||||||
timeout = '',
|
timeout = 10,
|
||||||
redirect = '',
|
redirect = '',
|
||||||
fragment = {},
|
fragment = {},
|
||||||
noise = {}
|
noise = {}
|
||||||
@@ -901,7 +901,7 @@ Outbound.FreedomSettings.Fragment = class extends CommonClass {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
Outbound.FreedomSettings.Noise = class extends CommonClass {
|
Outbound.FreedomSettings.Noise = class extends CommonClass {
|
||||||
constructor(packet = '', delay = '') {
|
constructor(packet = 'rand:100-200', delay = '10-20') {
|
||||||
super();
|
super();
|
||||||
this.packet = packet;
|
this.packet = packet;
|
||||||
this.delay = delay;
|
this.delay = delay;
|
||||||
|
|||||||
Reference in New Issue
Block a user