Fix page load for proxied containers when Mozilla VPN isn't active
Remove the use of the proxy if Mozilla VPN inactive, still load page in the dedicated container fix #2570
This commit is contained in:
parent
1537e9f6f2
commit
1d0b69bc30
1 changed files with 4 additions and 0 deletions
|
@ -198,6 +198,10 @@ window.assignManager = {
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!MozillaVPN_Background.getInstallationStatus() || !MozillaVPN_Background.getConnectionStatus()) {
|
||||||
|
return {};
|
||||||
|
}
|
||||||
|
|
||||||
// proxyDNS only works for SOCKS proxies
|
// proxyDNS only works for SOCKS proxies
|
||||||
if (["socks", "socks4"].includes(result.proxy.type)) {
|
if (["socks", "socks4"].includes(result.proxy.type)) {
|
||||||
result.proxy.proxyDNS = true;
|
result.proxy.proxyDNS = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue