This commit is contained in:
Alireza Ahmadi committed 2023-12-08 19:44:52 +01:00
1 parent 68ee4e003c
commit e5fc20b8ae
4 files changed
+16 -19

No files matched your search

+3 -3
View File
@@ -1080,9 +1080,9 @@ class Inbound extends XrayCommonClass {
}
get serverName() {
if (this.stream.isTls || this.stream.isXtls || this.stream.isReality) {
return this.stream.tls.server;
}
if (this.stream.isTls) return this.stream.tls.server;
if (this.stream.isXtls) return this.stream.xtls.server;
if (this.stream.isReality) return this.stream.reality.serverNames;
return "";
}