We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bdba15 commit ccb8d40Copy full SHA for ccb8d40
1 file changed
frontend/src/services/api/index.ts
@@ -81,7 +81,10 @@ api.interceptors.response.use(
81
const currentRoute = router.currentRoute.value.name?.toString() ?? "";
82
const resolvedRoute = router.resolve(window.location.pathname);
83
const resolvedRouteName = resolvedRoute.name?.toString() ?? "";
84
- if (isAuthExemptRoute(currentRoute) || isAuthExemptRoute(resolvedRouteName)) {
+ if (
85
+ isAuthExemptRoute(currentRoute) ||
86
+ isAuthExemptRoute(resolvedRouteName)
87
+ ) {
88
return Promise.reject(error);
89
}
90
0 commit comments