Skip to content

Commit

Permalink
fix(xray): set parsed transport to None in case of shadowsocks (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
khodedawsh authored Dec 10, 2024
1 parent 954aee8 commit b0ef5de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions marznode/backends/xray/_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ def _resolve_inbounds(self):
settings["path"] = net_settings.get("path")
settings["host"] = net_settings.get("host")

if inbound["protocol"] == "shadowsocks":
settings["network"] = None

self.inbounds.append(settings)
self.inbounds_by_tag[inbound["tag"]] = settings

Expand Down

0 comments on commit b0ef5de

Please sign in to comment.