diff --git a/src/mixins/public.js b/src/mixins/public.js index 16b60129b..b9a1470d9 100644 --- a/src/mixins/public.js +++ b/src/mixins/public.js @@ -11,7 +11,7 @@ if (env === "development" || localStorage.dev === "dev") { axios.interceptors.response.use(function (response) { return response; }, function (error) { - if(error.response.status === 404){ + if (error.response.status === 404) { location.href = "/page-not-found"; } console.log(error);