diff options
Diffstat (limited to 'web/assets/js/model')
| -rw-r--r-- | web/assets/js/model/xray.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/assets/js/model/xray.js b/web/assets/js/model/xray.js index 291f0adc..ba8b322e 100644 --- a/web/assets/js/model/xray.js +++ b/web/assets/js/model/xray.js @@ -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 ""; } |
