From 3eded06e4c60e43b65e531d3c3a38e6360e2fb76 Mon Sep 17 00:00:00 2001 From: Ioannis Igoumenos Date: Tue, 10 Oct 2023 11:23:24 +0300 Subject: [PATCH] redirect root path /metrics --- javascript/src/utils/api/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/src/utils/api/index.js b/javascript/src/utils/api/index.js index 74996fa..9af0b94 100644 --- a/javascript/src/utils/api/index.js +++ b/javascript/src/utils/api/index.js @@ -43,7 +43,7 @@ const handleError = (error) => { deleteCookie('userinfo', '/', window.location.hostname) // XXX it would be better if the root was / and not a path // Find a way to redirect to dashboard/root - window.location.href = `/` + window.location.href = `/metrics` } }