📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
some fix
kruzhambus18e614b45f3f
diff --git a/src/api/index.js b/src/api/index.jsindex ba5b52029..0dc0de6a9 100644--- a/src/api/index.js+++ b/src/api/index.js@@ -55,11 +55,11 @@ api.interceptors.request.use(api.interceptors.response.use((response) => response,(error) => {- // if (error.response?.data.statusCode === 401) {- // removeAccessToken()- // removeRefreshToken()- // store.dispatch(authActions.logout())- // }+ if (error.response?.data.statusCode === 401) {+ removeAccessToken()+ removeRefreshToken()+ store.dispatch(authActions.logout())+ }return Promise.reject(error)},)