mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-27 08:14:33 +08:00
2f18764490
Extend the proxy service's restore_live_config function to support common config runtime merge when restoring live configuration after proxy takeover ends. This ensures that when the proxy releases control and restores the original provider configuration, the common config merge is applied consistently with the main provider switching logic. The merge follows the same pattern as live.rs: - Check common_config_enabled flag per app type - Merge common snippet with provider's custom config - customConfig overrides commonConfig