diff --git a/Plan/react/dashboard/src/service/backendConfiguration.js b/Plan/react/dashboard/src/service/backendConfiguration.js index 8c40af106..551594b7b 100644 --- a/Plan/react/dashboard/src/service/backendConfiguration.js +++ b/Plan/react/dashboard/src/service/backendConfiguration.js @@ -7,7 +7,7 @@ const javaReplaced = { const isCurrentAddress = (address) => { let is = window.location.href.startsWith(address); - const usingProxyHttps = window.location.href.startsWith("https") && address.startsWith("http"); + const usingProxyHttps = window.location.href.startsWith("https") && !address.startsWith("https"); if (usingProxyHttps) { is = window.location.href.replace('https', '').startsWith(address.replace('http')); }