refactor(Proxy): Update proxy configuration handling

This commit is contained in:
suyao
2025-03-12 22:52:50 +08:00
committed by 亢奋猫
parent f7edb5442d
commit 1bc0d32fa3
+4 -2
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> {