refactor(Proxy): Update proxy configuration handling
This commit is contained in:
parent
84360bfde8
commit
06ab8f35ce
@ -17,11 +17,13 @@ export class ProxyManager {
|
||||
|
||||
constructor() {
|
||||
this.config = {
|
||||
mode: 'system',
|
||||
mode: 'none',
|
||||
url: ''
|
||||
}
|
||||
if (this.config.mode === 'system') {
|
||||
this.monitorSystemProxy()
|
||||
}
|
||||
}
|
||||
|
||||
private async setSessionsProxy(config: _ProxyConfig): Promise<void> {
|
||||
const sessions = [session.defaultSession, session.fromPartition('persist:webview')]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user