Fix vmess link

This commit is contained in:
Alireza Ahmadi
2023-03-23 11:16:48 +01:00
parent 1b2e165a65
commit 2d15073a90

View File

@@ -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));
}