From 2d15073a90ed64a23bc6563424d25444d46635f1 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Thu, 23 Mar 2023 11:16:48 +0100 Subject: [PATCH] Fix vmess link --- web/assets/js/model/xray.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/assets/js/model/xray.js b/web/assets/js/model/xray.js index f91b684a..3bf098d2 100644 --- a/web/assets/js/model/xray.js +++ b/web/assets/js/model/xray.js @@ -1080,6 +1080,10 @@ class Inbound extends XrayCommonClass { host: host, path: path, tls: this.stream.security, + sni: this.stream.tls.settings[0]['serverName'], + fp: this.stream.tls.settings[0]['fingerprint'], + alpn: this.stream.tls.alpn.join(','), + allowInsecure: this.stream.tls.settings[0].allowInsecure, }; return 'vmess://' + base64(JSON.stringify(obj, null, 2)); }