From 103e366839e7d124a6a56b5c504ccb41b1cd6108 Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sun, 30 May 2021 19:35:35 +0530 Subject: [PATCH] webapp: minor change. --- DnsServerCore/www/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DnsServerCore/www/js/main.js b/DnsServerCore/www/js/main.js index 37cdb810..eb56215e 100644 --- a/DnsServerCore/www/js/main.js +++ b/DnsServerCore/www/js/main.js @@ -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 == ""))