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:
Diffstat (limited to 'web/assets')
-rw-r--r--web/assets/js/model/xray.js11
1 files changed, 9 insertions, 2 deletions
diff --git a/web/assets/js/model/xray.js b/web/assets/js/model/xray.js
index 88ded883..c8b02641 100644
--- a/web/assets/js/model/xray.js
+++ b/web/assets/js/model/xray.js
@@ -79,9 +79,15 @@ const UTLS_FINGERPRINT = {
};
const ALPN_OPTION = {
- H3: "h3",
- H2: "h2",
HTTP1: "http/1.1",
+ H2: "h2",
+ H3: "h3",
+};
+
+const SNIFFING_OPTION = {
+ HTTP: "http",
+ TLS: "tls",
+ QUIC: "quic",
};
Object.freeze(Protocols);
@@ -92,6 +98,7 @@ Object.freeze(TLS_FLOW_CONTROL);
Object.freeze(TLS_VERSION_OPTION);
Object.freeze(TLS_CIPHER_OPTION);
Object.freeze(ALPN_OPTION);
+Object.freeze(SNIFFING_OPTION);
class XrayCommonClass {