diff --git a/apps/main/src/lib/proxy.ts b/apps/main/src/lib/proxy.ts index 38ef651b9..014e5daf9 100644 --- a/apps/main/src/lib/proxy.ts +++ b/apps/main/src/lib/proxy.ts @@ -37,7 +37,7 @@ const URL_SCHEME = new Set(["http:", "https:", "ftp:", "socks:", "socks4:", "soc const normalizeProxyUri = (userProxy: string) => { if (!userProxy) { - return + return "" } // Only use the first proxy if there are multiple urls const firstInput = userProxy.split(",")[0]! diff --git a/changelog/next.md b/changelog/next.md index 17888d80b..a4b22c23d 100644 --- a/changelog/next.md +++ b/changelog/next.md @@ -5,3 +5,5 @@ ## Improvements ## Bug Fixes + +- Resolved the issue of being unable to reset it to empty after using the proxy.