From 668e97c5a9756fa8a8acccdd5948418f727a6552 Mon Sep 17 00:00:00 2001 From: Domingos Panta Date: Thu, 12 May 2022 13:39:10 +0100 Subject: [PATCH] fix: lint errors. --- src/mixins/public.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);