mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-02 21:50:52 +00:00
fix comment
This commit is contained in:
parent
bba3ab93b1
commit
588ef60411
2 changed files with 26 additions and 1 deletions
|
|
@ -27,7 +27,8 @@ export function normalizeProxyUrl(
|
|||
}
|
||||
|
||||
// Check if the URL already has a protocol prefix
|
||||
if (/^https?:\/\//i.test(trimmed)) {
|
||||
// Support http, https, socks, socks4, socks5 protocols
|
||||
if (/^(https?|socks[45]?):\/\//i.test(trimmed)) {
|
||||
return trimmed;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue