refactor(Proxy): Update proxy configuration handling

This commit is contained in:
suyao 2025-03-12 22:52:50 +08:00 committed by 亢奋猫
parent 84360bfde8
commit 06ab8f35ce

View File

@ -17,10 +17,12 @@ export class ProxyManager {
constructor() {
this.config = {
mode: 'system',
mode: 'none',
url: ''
}
this.monitorSystemProxy()
if (this.config.mode === 'system') {
this.monitorSystemProxy()
}
}
private async setSessionsProxy(config: _ProxyConfig): Promise<void> {