diff --git a/app/subscription/singbox.py b/app/subscription/singbox.py index b8d04b73..ab840258 100644 --- a/app/subscription/singbox.py +++ b/app/subscription/singbox.py @@ -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: