Skip to content

Commit

Permalink
fix(subscription): path and host for splithttp
Browse files Browse the repository at this point in the history
  • Loading branch information
M03ED committed Jul 4, 2024
1 parent f04a8f9 commit fbc87ed
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 @@ -248,6 +248,8 @@ def vless(cls,
payload["quicSecurity"] = host

elif net == "splithttp":
payload["path"] = path
payload["host"] = host
payload["maxUploadSize"] = max_upload_size
payload["maxConcurrentUploads"] = max_concurrent_uploads

Expand Down Expand Up @@ -320,6 +322,8 @@ def trojan(cls,
payload["mode"] = "gun"

elif net == "splithttp":
payload["path"] = path
payload["host"] = host
payload["maxUploadSize"] = max_upload_size
payload["maxConcurrentUploads"] = max_concurrent_uploads

Expand Down

0 comments on commit fbc87ed

Please sign in to comment.