summaryrefslogtreecommitdiffstats
path: root/web/gui/v2/registry-access.html
diff options
context:
space:
mode:
Diffstat (limited to 'web/gui/v2/registry-access.html')
-rw-r--r--web/gui/v2/registry-access.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/gui/v2/registry-access.html b/web/gui/v2/registry-access.html
index 4eb32725..75a40303 100644
--- a/web/gui/v2/registry-access.html
+++ b/web/gui/v2/registry-access.html
@@ -62,7 +62,7 @@
}
window.addEventListener('message', function(event) {
- var isNetdataMessage = Array.isArray(event.data) ? event.data.length === 3 ? event.data[0] === "netdata-registry" : isValidHttpUrl(event.data[0]) : true
+ var isNetdataMessage = Array.isArray(event.data) ? event.data.length === 3 ? event.data[0] === "netdata-registry" : isValidHttpUrl(event.data[0]) : false
if (!isNetdataMessage) return