diff --git a/package.json b/package.json index 2397d2e..5e8e7db 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "proxyverse", "private": true, - "version": "0.9.0", + "version": "0.9.1", "type": "module", "scripts": { "dev": "vite", diff --git a/src/background.ts b/src/background.ts index 28de2d3..8478255 100644 --- a/src/background.ts +++ b/src/background.ts @@ -10,4 +10,5 @@ async function initIndicator() { } -initIndicator().catch(console.error) \ No newline at end of file +initIndicator().catch(console.error) +chrome.proxy.onProxyError.addListener(console.warn) \ No newline at end of file diff --git a/src/components/ProfileConfig.vue b/src/components/ProfileConfig.vue index 2002237..0da63cd 100644 --- a/src/components/ProfileConfig.vue +++ b/src/components/ProfileConfig.vue @@ -151,7 +151,7 @@ const loadProfile = async (profileID: string) => { profileFirstLoaded = true Object.assign(profileConfig, profile) - if (profileConfig.proxyRules.ftp || profileConfig.proxyRules.http || profileConfig.proxyRules.https) { + if (profileConfig.proxyType == 'proxy' && (profileConfig.proxyRules.ftp || profileConfig.proxyRules.http || profileConfig.proxyRules.https)) { showAdvanceConfig.value = true } } @@ -168,7 +168,7 @@ onMounted(() => { {{ profileConfig.profileName - }} + }}