From 82550a447a7bf26be9b2928ea335fa84ed3527ff Mon Sep 17 00:00:00 2001 From: Ronaldo Macapobre Date: Wed, 23 Oct 2024 20:37:29 +0000 Subject: [PATCH] Comment interceptor --- web/src/main.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/web/src/main.ts b/web/src/main.ts index 58f63c95..de9d4a8b 100644 --- a/web/src/main.ts +++ b/web/src/main.ts @@ -21,13 +21,13 @@ Vue.use(ServicePlugin); Vue.config.productionTip = true; Vue.component('loading-spinner', LoadingSpinner); -Vue.http.interceptors.push(function () { - return function (response) { - if (response.status == 401) { - location.replace(`${process.env.BASE_URL}api/auth/login?redirectUri=${window.location}`); - } - }; -}); +// Vue.http.interceptors.push(function () { +// return function (response) { +// if (response.status == 401) { +// location.replace(`${process.env.BASE_URL}api/auth/login?redirectUri=${window.location}`); +// } +// }; +// }); Vue.http.options.root = process.env.BASE_URL;