diff options
| -rw-r--r-- | README.es_ES.md | 4 | ||||
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | README.ru_RU.md | 4 | ||||
| -rw-r--r-- | README.zh_CN.md | 4 | ||||
| -rw-r--r-- | config/version | 2 | ||||
| -rw-r--r-- | web/assets/js/model/outbound.js | 6 | ||||
| -rw-r--r-- | web/html/xui/form/outbound.html | 4 | ||||
| -rw-r--r-- | web/html/xui/settings.html | 14 |
8 files changed, 21 insertions, 21 deletions
diff --git a/README.es_ES.md b/README.es_ES.md index e514f073..ded7d9f9 100644 --- a/README.es_ES.md +++ b/README.es_ES.md @@ -32,10 +32,10 @@ bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install. ## Instalar una Versión Personalizada -Para instalar la versión deseada, agrega la versión al final del comando de instalación. Por ejemplo, ver `v2.3.13`: +Para instalar la versión deseada, agrega la versión al final del comando de instalación. Por ejemplo, ver `v2.3.14`: ``` -bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) v2.3.13 +bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) v2.3.14 ``` ## Certificado SSL @@ -32,10 +32,10 @@ bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install. ## Install Custom Version -To install your desired version, add the version to the end of the installation command. e.g., ver `v2.3.13`: +To install your desired version, add the version to the end of the installation command. e.g., ver `v2.3.14`: ``` -bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) v2.3.13 +bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) v2.3.14 ``` ## SSL Certificate diff --git a/README.ru_RU.md b/README.ru_RU.md index 08613405..8f83be03 100644 --- a/README.ru_RU.md +++ b/README.ru_RU.md @@ -32,10 +32,10 @@ bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install. ## Установка определённой версии -Чтобы установить нужную вам версию, добавьте номер версии в конец команды установки. Например, `v2.3.13`: +Чтобы установить нужную вам версию, добавьте номер версии в конец команды установки. Например, `v2.3.14`: ``` -bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) v2.3.13 +bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) v2.3.14 ``` ## SSL Сертификат diff --git a/README.zh_CN.md b/README.zh_CN.md index 14ac8de4..b320037c 100644 --- a/README.zh_CN.md +++ b/README.zh_CN.md @@ -32,10 +32,10 @@ bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install. ## 安装指定版本 -要安装所需的版本,请将该版本添加到安装命令的末尾。 e.g., ver `v2.3.13`: +要安装所需的版本,请将该版本添加到安装命令的末尾。 e.g., ver `v2.3.14`: ``` -bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) v2.3.13 +bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) v2.3.14 ``` ## SSL 认证 diff --git a/config/version b/config/version index da924f5d..ac805d3e 100644 --- a/config/version +++ b/config/version @@ -1 +1 @@ -2.3.13
\ No newline at end of file +2.3.14
\ No newline at end of file diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js index 59da542a..5c019a3c 100644 --- a/web/assets/js/model/outbound.js +++ b/web/assets/js/model/outbound.js @@ -909,15 +909,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 a579b7a6..1f79671f 100644 --- a/web/html/xui/form/outbound.html +++ b/web/html/xui/form/outbound.html @@ -45,8 +45,8 @@ <a-switch :checked="Object.keys(outbound.settings.noise).length >0" @change="checked => outbound.settings.noise = checked ? new Outbound.FreedomSettings.Noise() : {}"></a-switch> </a-form-item> <template v-if="Object.keys(outbound.settings.noise).length >0"> - <a-form-item label='Packets'> - <a-input v-model.trim="outbound.settings.noise.packets"></a-input> + <a-form-item label='Packet'> + <a-input v-model.trim="outbound.settings.noise.packet"></a-input> </a-form-item> <a-form-item label='Delay'> <a-input v-model.trim="outbound.settings.noise.delay"></a-input> diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html index beab4df1..a12dfab9 100644 --- a/web/html/xui/settings.html +++ b/web/html/xui/settings.html @@ -326,8 +326,8 @@ </a-row> <a-collapse v-if="noise" style="margin-top: 14px;"> <a-collapse-panel header='{{ i18n "pages.settings.noiseSett"}}' v-if="noise"> - <setting-list-item style="padding: 10px 20px" type="text" title='Packets' v-model="noisePackets" placeholder="rand:5-10"></setting-list-item> - <setting-list-item style="padding: 10px 20px" type="text" title='Delay' v-model="noiseDelay" placeholder="5-10"></setting-list-item> + <setting-list-item style="padding: 10px 20px" type="text" title='Packet (ms)' v-model="noisePacket" placeholder="rand:5-10"></setting-list-item> + <setting-list-item style="padding: 10px 20px" type="text" title='Delay (ms)' v-model="noiseDelay" placeholder="10-20"></setting-list-item> </a-collapse-panel> </a-collapse> </a-list-item> @@ -436,8 +436,8 @@ settings: { domainStrategy: "AsIs", noise: { - packets: "rand:5-10", - delay: "5-10", + packet: "rand:5-10", + delay: "10-20", } }, }, @@ -646,12 +646,12 @@ this.allSetting.subJsonNoise = v ? JSON.stringify(this.defaultNoise) : ""; } }, - noisePackets: { - get: function () { return this.noise ? JSON.parse(this.allSetting.subJsonNoise).settings.noise.packets : ""; }, + noisePacket: { + get: function () { return this.noise ? JSON.parse(this.allSetting.subJsonNoise).settings.noise.packet : ""; }, set: function (v) { if (v != "") { newNoise = JSON.parse(this.allSetting.subJsonNoise); - newNoise.settings.noise.packets = v; + newNoise.settings.noise.packet = v; this.allSetting.subJsonNoise = JSON.stringify(newNoise); } } |
