Skip to content

Commit

Permalink
v2.3.14
Browse files Browse the repository at this point in the history
  • Loading branch information
MHSanaei committed Aug 30, 2024
1 parent 898f80c commit f0165c1
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions README.es_ES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.ru_RU.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 Сертификат
Expand Down
4 changes: 2 additions & 2 deletions README.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 认证
Expand Down
2 changes: 1 addition & 1 deletion config/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.13
2.3.14
6 changes: 3 additions & 3 deletions web/assets/js/model/outbound.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
}
Expand Down
4 changes: 2 additions & 2 deletions web/html/xui/form/outbound.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
14 changes: 7 additions & 7 deletions web/html/xui/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -436,8 +436,8 @@
settings: {
domainStrategy: "AsIs",
noise: {
packets: "rand:5-10",
delay: "5-10",
packet: "rand:5-10",
delay: "10-20",
}
},
},
Expand Down Expand Up @@ -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);
}
}
Expand Down

0 comments on commit f0165c1

Please sign in to comment.