Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2024-02-19 20:35:24 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2024-02-19 20:35:24 +0300
commit70b3db074aa6c82182219aa13f048d41632d8ed0 (patch)
tree90a92fd039a4e52c98ebfa8d7e7a06968202281a /web/assets/js
parentd560cd9cc81bc2fdb006c8836f9f4901265434a4 (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.js4
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 = '';