fix: Resolved the issue of being unable to reset it to empty after using the proxy. (#2788)

* Update proxy.ts

* Update next.md

* chore: auto-fix linting and formatting issues

---------

Co-authored-by: Whitewater <me@waterwater.moe>
This commit is contained in:
IzumiMasaharu
2025-02-18 13:05:05 +08:00
committed by GitHub
co-authored by Whitewater
parent 9a70853281
commit afbea643e6
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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]!
+2
View File
@@ -5,3 +5,5 @@
## Improvements
## Bug Fixes
- Resolved the issue of being unable to reset it to empty after using the proxy.