Skip to content

Commit 1a14a05

Browse files
committed
fix(singbox): add enabled true in multiplex config
1 parent 9fb5502 commit 1a14a05

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/subscription/singbox.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,9 @@ def _build_outbound(
328328
# Filter out the enable field as it's not part of singbox multiplex config
329329
multiplex_config = {k: v for k, v in singbox_mux.items() if k != "enable"}
330330

331+
# Add enabled: true to multiplex config
332+
multiplex_config["enabled"] = True
333+
331334
# Handle brutal configuration - only include if brutal.enable is True
332335
if "brutal" in multiplex_config:
333336
brutal_config = multiplex_config["brutal"]

0 commit comments

Comments
 (0)