Skip to content

Commit

Permalink
chore: fix relay config
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehco1996 committed Aug 25, 2024
1 parent cc27e7a commit ca9384b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/proxy/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ def get_config(self):
for proxy_node in nodes:
if not proxy_node.enable:
continue
if not proxy_node.enable_ehco_tunnel:
if not proxy_node.enable_ehco_tunnel or proxy_node.enable_direct:
tcp_remote = f"{proxy_node.server}:{proxy_node.get_user_port()}"
else:
tcp_remote = f"{proxy_node.server}:{proxy_node.ehco_listen_port}"
Expand Down

0 comments on commit ca9384b

Please sign in to comment.