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:
co-authored by
Whitewater
parent
9a70853281
commit
afbea643e6
@@ -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]!
|
||||
|
||||
@@ -5,3 +5,5 @@
|
||||
## Improvements
|
||||
|
||||
## Bug Fixes
|
||||
|
||||
- Resolved the issue of being unable to reset it to empty after using the proxy.
|
||||
|
||||
Reference in New Issue
Block a user