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:
Lucas Simeon 2024-06-20 20:53:54 +02:00
parent 1537e9f6f2
commit 1d0b69bc30

View file

@ -198,6 +198,10 @@ window.assignManager = {
return {};
}
if (!MozillaVPN_Background.getInstallationStatus() || !MozillaVPN_Background.getConnectionStatus()) {
return {};
}
// proxyDNS only works for SOCKS proxies
if (["socks", "socks4"].includes(result.proxy.type)) {
result.proxy.proxyDNS = true;