mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-24 18:50:56 +08:00
chore(ProxyManager): remove unnecessary console log
This commit is contained in:
parent
1e49b2e605
commit
3dbfd4928c
@ -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…
Reference in New Issue
Block a user