Skip to content

Commit

Permalink
Add singbox-only protocols for selector and urltest (#1597)
Browse files Browse the repository at this point in the history
* add more protocols for selector and urltest

* add more protocols for selector and urltest
  • Loading branch information
alirezahabib authored Jan 13, 2025
1 parent 216e81c commit 79ca07f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/subscription/singbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ def add_outbound(self, outbound_data):
self.config["outbounds"].append(outbound_data)

def render(self, reverse=False):
urltest_types = ["vmess", "vless", "trojan", "shadowsocks"]
urltest_types = ["vmess", "vless", "trojan", "shadowsocks", "hysteria2", "tuic", "http", "ssh"]
urltest_tags = [outbound["tag"]
for outbound in self.config["outbounds"] if outbound["type"] in urltest_types]
selector_types = ["vmess", "vless", "trojan", "shadowsocks", "urltest"]
selector_types = ["vmess", "vless", "trojan", "shadowsocks", "hysteria2", "tuic", "http", "ssh", "urltest"]
selector_tags = [outbound["tag"]
for outbound in self.config["outbounds"] if outbound["type"] in selector_types]

Expand Down

0 comments on commit 79ca07f

Please sign in to comment.