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

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 "";
}