diff --git a/webui.dev/main.js b/webui.dev/main.js index f05bb36..2e0df2e 100644 --- a/webui.dev/main.js +++ b/webui.dev/main.js @@ -58,7 +58,7 @@ function fetchGetDashboardComponents () { window.fetch(window.restBaseUrl + 'GetDashboardComponents', { cors: 'cors' }).then(res => { - if (!res.ok && res.status === 401) { + if (!res.ok && res.status === 403) { window.location.href = window.settings.AuthLoginUrl } return res.json()