summaryrefslogtreecommitdiffstats
path: root/web/gui/registry-alert-redirect.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-10-17 09:30:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-10-17 09:30:23 +0000
commit517a443636daa1e8085cb4e5325524a54e8a8fd7 (patch)
tree5352109cc7cd5122274ab0cfc1f887b685f04edf /web/gui/registry-alert-redirect.html
parentReleasing debian version 1.42.4-1. (diff)
downloadnetdata-517a443636daa1e8085cb4e5325524a54e8a8fd7.tar.xz
netdata-517a443636daa1e8085cb4e5325524a54e8a8fd7.zip
Merging upstream version 1.43.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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");