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 edbef90 commit 72defc8Copy full SHA for 72defc8
app/subscription/xray.py
@@ -495,9 +495,7 @@ def _build_outbound(
495
496
# Add mux
497
if inbound.mux_settings and (xray_mux := inbound.mux_settings.get("xray")) and xray_mux.get("enabled"):
498
- # Filter out the enabled field as it's not part of xray mux config
499
- mux_config = {k: v for k, v in xray_mux.items() if k != "enabled"}
500
- outbound["mux"] = self._normalize_and_remove_none_values(mux_config)
+ outbound["mux"] = self._normalize_and_remove_none_values(xray_mux)
501
502
return self._normalize_and_remove_none_values(outbound), extra_outbounds
503
0 commit comments