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>2025-09-08 11:08:55 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2025-09-08 15:32:49 +0300
commit5420e643cf71eb1cb1e14ad224ac88f10e47d58c (patch)
treeb30b1a01fc1821b4f45ed050365ac4ea236491ce /web/assets
parent9fcd0387ca7bffe023274a39293d562d4dc2c84b (diff)
minor change
Diffstat (limited to 'web/assets')
-rw-r--r--web/assets/js/model/inbound.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/web/assets/js/model/inbound.js b/web/assets/js/model/inbound.js
index c922beb5..c2467c36 100644
--- a/web/assets/js/model/inbound.js
+++ b/web/assets/js/model/inbound.js
@@ -1859,15 +1859,16 @@ Inbound.VLESSSettings = class extends Inbound.Settings {
protocol,
vlesses = [new Inbound.VLESSSettings.VLESS()],
decryption = "none",
- encryption = "",
+ encryption = "none",
fallbacks = [],
+ selectedAuth = undefined,
) {
super(protocol);
this.vlesses = vlesses;
this.decryption = decryption;
this.encryption = encryption;
this.fallbacks = fallbacks;
- this.selectedAuth = "X25519, not Post-Quantum";
+ this.selectedAuth = selectedAuth;
}
addFallback() {
@@ -1884,9 +1885,9 @@ Inbound.VLESSSettings = class extends Inbound.Settings {
(json.clients || []).map(client => Inbound.VLESSSettings.VLESS.fromJson(client)),
json.decryption,
json.encryption,
- Inbound.VLESSSettings.Fallback.fromJson(json.fallbacks || [])
+ Inbound.VLESSSettings.Fallback.fromJson(json.fallbacks || []),
+ json.selectedAuth
);
- obj.selectedAuth = json.selectedAuth || "X25519, not Post-Quantum";
return obj;
}