Skip to content

Commit

Permalink
fix(subscription): singbox ws ignore wsSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
M03ED committed Jul 31, 2024
1 parent a2ba2c0 commit c02ef96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/subscription/singbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def ws_config(self, host='', path='', random_user_agent: bool = False,
if path:
config["path"] = path
if host:
config["headers"] = {"Host": host}
config["headers"]["Host"] = host
if random_user_agent:
config["headers"]["User-Agent"] = choice(self.user_agent_list)
if max_early_data is not None:
Expand Down

0 comments on commit c02ef96

Please sign in to comment.