Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-06-12 23:33:33 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-06-12 23:33:56 +0300
commit8259024fbe3f3d4f8dbd65357c895ffd1f93e41c (patch)
treecafe7e4a131d5cdc8b1b7b803aeb066a05faec99 /web/assets/js
parente275adbccd729abe22c0f306f15dd8a82627453d (diff)
Outbound - UoTVersion for SS
Diffstat (limited to 'web/assets/js')
-rw-r--r--web/assets/js/model/outbound.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js
index b282074f..2f2a5ea2 100644
--- a/web/assets/js/model/outbound.js
+++ b/web/assets/js/model/outbound.js
@@ -950,13 +950,14 @@ Outbound.TrojanSettings = class extends CommonClass {
}
};
Outbound.ShadowsocksSettings = class extends CommonClass {
- constructor(address, port, password, method, uot) {
+ constructor(address, port, password, method, uot, UoTVersion) {
super();
this.address = address;
this.port = port;
this.password = password;
this.method = method;
this.uot = uot;
+ this.UoTVersion = UoTVersion;
}
static fromJson(json={}) {
@@ -968,6 +969,7 @@ Outbound.ShadowsocksSettings = class extends CommonClass {
servers[0].password,
servers[0].method,
servers[0].uot,
+ servers[0].UoTVersion,
);
}
@@ -979,6 +981,7 @@ Outbound.ShadowsocksSettings = class extends CommonClass {
password: this.password,
method: this.method,
uot: this.uot,
+ UoTVersion: this.UoTVersion,
}],
};
}