webapp: minor change.

This commit is contained in:
Shreyas Zare
2021-05-30 19:35:35 +05:30
parent c972c5a96b
commit 103e366839

View File

@@ -1190,7 +1190,7 @@ function saveDnsSettings() {
}
function checkForReverseProxy(responseJSON) {
if (location.protocol == "https:") {
if (window.location.protocol == "https:") {
var currentPort = window.location.port;
if ((currentPort == 0) || (currentPort == ""))