small fixes #1300
This commit is contained in:
1 parent
68ee4e003c
commit
e5fc20b8ae
4 files changed
+16
-19
No files matched your search
@@ -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 "";
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user