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` } }