summaryrefslogtreecommitdiffstats
path: root/web/gui/registry-alert-redirect.html
diff options
context:
space:
mode:
Diffstat (limited to 'web/gui/registry-alert-redirect.html')
-rw-r--r--web/gui/registry-alert-redirect.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/gui/registry-alert-redirect.html b/web/gui/registry-alert-redirect.html
index 0ef68dce0..39e64fa1e 100644
--- a/web/gui/registry-alert-redirect.html
+++ b/web/gui/registry-alert-redirect.html
@@ -56,7 +56,7 @@
return s;
}
- fetch("/api/v1/registry?action=search&for=" + mg, { cache: "no-cache", credentials: "include", headers: { Authorization: 'Bearer ' + (token || localStorage.getItem("registry-netdata-token")) } })
+ fetch("/api/v1/registry?action=search&for=" + mg, { cache: "no-cache", credentials: "include", headers: { ["X-Netdata-Auth"]: 'Bearer ' + (token || localStorage.getItem("registry-netdata-token")) } })
.then(function(response) { return response.json() })
.then(function(data) {
let table = document.getElementById("mynodes");