Skip to content

Commit

Permalink
Merge pull request #1197 from erfjab/fix-config-bug
Browse files Browse the repository at this point in the history
fix(config): Corrupting the hosts' data
  • Loading branch information
SaintShit authored Jul 31, 2024
2 parents 2f2cbd1 + 6483e42 commit d4c9e27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/subscription/share.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,9 @@ def process_inbounds_and_tags(
continue

format_variables.update({"TRANSPORT": inbound["network"]})
host_inbound = inbound.copy()

for host in xray.hosts.get(tag, []):
host_inbound = inbound.copy()

sni = ""
sni_list = host["sni"] or inbound["sni"]
Expand Down

0 comments on commit d4c9e27

Please sign in to comment.