Skip to content

Commit

Permalink
Merge pull request #1409 from ImMohammad20000/clash-smux
Browse files Browse the repository at this point in the history
fix(clash): wrong smux option
  • Loading branch information
ImMohammad20000 authored Nov 1, 2024
2 parents e7a4fdc + f2c52cf commit ea4a160
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/subscription/clash.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def make_node(self,
is_httpupgrade = True
else:
is_httpupgrade = False
if network in ("http","h2","h3"):
if network in ("http", "h2", "h3"):
network = "h2"

node = {
Expand Down Expand Up @@ -246,7 +246,7 @@ def make_node(self,
mux_config = mux_json["clash"]

if mux_enable:
net_opts['smux'] = mux_config
node['smux'] = mux_config

return node

Expand Down

0 comments on commit ea4a160

Please sign in to comment.