From aaabbdacaa0df3357811c2e33acf8ddd908d8d97 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Sun, 1 Sep 2024 11:40:23 +0200 Subject: [PATCH] v1.8.6 --- config/version | 2 +- web/assets/js/model/outbound.js | 6 ++--- web/html/xui/form/outbound.html | 4 ++-- web/html/xui/settings.html | 10 ++++---- web/service/inbound.go | 41 +++++++++++++++++++++------------ 5 files changed, 37 insertions(+), 26 deletions(-) diff --git a/config/version b/config/version index ff2fd4fbef..9eadd6baad 100644 --- a/config/version +++ b/config/version @@ -1 +1 @@ -1.8.5 \ No newline at end of file +1.8.6 \ No newline at end of file diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js index 01bd539feb..96a4c549a8 100644 --- a/web/assets/js/model/outbound.js +++ b/web/assets/js/model/outbound.js @@ -872,15 +872,15 @@ Outbound.FreedomSettings.Fragment = class extends CommonClass { } }; Outbound.FreedomSettings.Noise = class extends CommonClass { - constructor(packets = '', delay = '') { + constructor(packet = '', delay = '') { super(); - this.packets = packets; + this.packet = packet; this.delay = delay; } static fromJson(json = {}) { return new Outbound.FreedomSettings.Noise( - json.packets, + json.packet, json.delay, ); } diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html index cb9eeebad8..3cce33911a 100644 --- a/web/html/xui/form/outbound.html +++ b/web/html/xui/form/outbound.html @@ -55,8 +55,8 @@