mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-02 18:41:35 +08:00
refactor(proxy): remove global auto-start flag
- Remove global proxy auto-start flag from config and UI. - Simplify per-app takeover start/stop and stop server when the last takeover is disabled. - Restore live takeover detection used for crash recovery. - Keep proxy_config.enabled column but always write 0 for compatibility. - Tests: not run (not requested).
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
export interface ProxyConfig {
|
||||
enabled: boolean;
|
||||
listen_address: string;
|
||||
listen_port: number;
|
||||
max_retries: number;
|
||||
|
||||
Reference in New Issue
Block a user