improve proxy type matching
Co-authored-by: nekno <nekno@users.noreply.github.com>
This commit is contained in:
parent
0ef50dd2f0
commit
0b869a139a
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ window.assignManager = {
|
|||
}
|
||||
|
||||
// proxyDNS only works for SOCKS proxies
|
||||
if (result.proxy.type === "socks" || result.proxy.type === "socks4" ) {
|
||||
if (["socks", "socks4"].includes(result.proxy.type)) {
|
||||
result.proxy.proxyDNS = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue