chore(ProxyManager): remove unnecessary console log

This commit is contained in:
suyao 2025-03-22 00:11:02 +08:00 committed by Asurada
parent bddec81402
commit 117cf548fe

View File

@ -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()