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;