We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6e90d3 commit ced66a1Copy full SHA for ced66a1
Plan/react/dashboard/src/service/backendConfiguration.js
@@ -7,7 +7,7 @@ const javaReplaced = {
7
8
const isCurrentAddress = (address) => {
9
let is = window.location.href.startsWith(address);
10
- const usingProxyHttps = window.location.href.startsWith("https") && address.startsWith("http");
+ const usingProxyHttps = window.location.href.startsWith("https") && !address.startsWith("https");
11
if (usingProxyHttps) {
12
is = window.location.href.replace('https', '').startsWith(address.replace('http'));
13
}
0 commit comments