chore(ProxyManager): remove unnecessary console log
This commit is contained in:
parent
bddec81402
commit
117cf548fe
@ -73,7 +73,6 @@ export class ProxyManager {
|
||||
await this.setSessionsProxy({ mode: 'system' })
|
||||
const proxyString = await session.defaultSession.resolveProxy('https://dummy.com')
|
||||
const [protocol, address] = proxyString.split(';')[0].split(' ')
|
||||
console.log('protocol', protocol)
|
||||
const url = protocol === 'PROXY' ? `http://${address}` : null
|
||||
if (url && url !== this.config.url) {
|
||||
this.config.url = url.toLowerCase()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user