diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2024-02-19 20:35:24 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2024-02-19 20:35:24 +0300 |
| commit | 70b3db074aa6c82182219aa13f048d41632d8ed0 (patch) | |
| tree | 90a92fd039a4e52c98ebfa8d7e7a06968202281a /web/assets/js | |
| parent | d560cd9cc81bc2fdb006c8836f9f4901265434a4 (diff) | |
open sniffing for all protocols
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/assets/js')
| -rw-r--r-- | web/assets/js/model/xray.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/web/assets/js/model/xray.js b/web/assets/js/model/xray.js index d7d1fa0d..80c81da2 100644 --- a/web/assets/js/model/xray.js +++ b/web/assets/js/model/xray.js @@ -1146,10 +1146,6 @@ class Inbound extends XrayCommonClass { return [Protocols.VMESS, Protocols.VLESS, Protocols.TROJAN, Protocols.SHADOWSOCKS].includes(this.protocol); } - canSniffing() { - return [Protocols.VMESS, Protocols.VLESS, Protocols.TROJAN, Protocols.SHADOWSOCKS].includes(this.protocol); - } - reset() { this.port = RandomUtil.randomIntRange(10000, 60000); this.listen = ''; |
