We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e1eb25 commit 01dd91aCopy full SHA for 01dd91a
app/subscription/singbox.py
@@ -320,8 +320,10 @@ def _build_outbound(
320
321
# Add mux
322
if inbound.mux_settings and (singbox_mux := inbound.mux_settings.get("sing_box")) and singbox_mux.get("enable"):
323
- singbox_mux = self._normalize_and_remove_none_values(singbox_mux)
324
- config["multiplex"] = singbox_mux
+ # Filter out the enable field as it's not part of singbox multiplex config
+ multiplex_config = {k: v for k, v in singbox_mux.items() if k != "enable"}
325
+ multiplex_config = self._normalize_and_remove_none_values(multiplex_config)
326
+ config["multiplex"] = multiplex_config
327
328
return self._normalize_and_remove_none_values(config)
329
0 commit comments