improve proxy type matching

Co-authored-by: nekno <nekno@users.noreply.github.com>
This commit is contained in:
eladyn
2022-04-21 14:09:38 +02:00
committed by GitHub
parent 0ef50dd2f0
commit 0b869a139a
+1 -1
View File
@@ -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;
}