📈 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
fix: refresh token for other status code error
kruzhambuscb3411326f0e
diff --git a/src/api/index.js b/src/api/index.jsindex 55aac2f1d..e62576e19 100644--- a/src/api/index.js+++ b/src/api/index.js@@ -42,7 +42,9 @@ const refreshAuthLogic = (failedRequest) =>})// Instantiate the interceptor-createAuthRefreshInterceptor(api, refreshAuthLogic)+createAuthRefreshInterceptor(api, refreshAuthLogic, {+ statusCodes: [401, 403],+})api.interceptors.request.use((config) => {