Skip to content

Commit

Permalink
fix: path and host not sended in ws (#1475)
Browse files Browse the repository at this point in the history
  • Loading branch information
ImMohammad20000 authored Dec 2, 2024
1 parent b703d89 commit 4708436
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/subscription/v2ray.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,8 @@ def vless(cls,
payload["host"] = host

elif net == "ws":
payload["path"] = path
payload["host"] = host
if heartbeatPeriod:
payload["heartbeatPeriod"] = heartbeatPeriod

Expand Down Expand Up @@ -426,6 +428,8 @@ def trojan(cls,
payload["host"] = host

elif net == "ws":
payload["path"] = path
payload["host"] = host
if heartbeatPeriod:
payload["heartbeatPeriod"] = heartbeatPeriod

Expand Down

0 comments on commit 4708436

Please sign in to comment.