فهرست منبع

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.
mhsanaei 6 روز پیش
والد
کامیت
d23a7f81ef
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      web/assets/js/model/outbound.js

+ 2 - 2
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;