diff --git a/app/subscription/v2ray.py b/app/subscription/v2ray.py index d6d994744..30c0b60ba 100644 --- a/app/subscription/v2ray.py +++ b/app/subscription/v2ray.py @@ -570,7 +570,7 @@ def ws_config(self, path: str = "", host: str = "", random_user_agent: bool = Fa if path: wsSettings["path"] = path if host: - wsSettings["headers"]["Host"] = host + wsSettings["host"] = host if random_user_agent: wsSettings["headers"]["User-Agent"] = choice(self.user_agent_list) if heartbeatPeriod: