Skip to content

Commit

Permalink
fix(subscription): prevent making noneSettings as a security setting
Browse files Browse the repository at this point in the history
  • Loading branch information
M03ED committed Jul 31, 2024
1 parent 70dfb6d commit 87dca23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/subscription/v2ray.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ def stream_setting_config(network=None, security=None,

streamSettings = {"network": network}

if security:
if security and security != "none":
streamSettings["security"] = security
streamSettings[f"{security}Settings"] = tls_settings

Expand Down

0 comments on commit 87dca23

Please sign in to comment.