Add admin portal

This commit is contained in:
Jose Selesan
2026-06-10 09:39:20 -03:00
parent c278c78e3d
commit c1c2f18471
50 changed files with 2713 additions and 69 deletions

View File

@@ -69,6 +69,10 @@ http.interceptors.response.use(
async (error: AxiosError) => {
const normalized = normalizeError(error);
if (normalized.status === 401 && handlers.onUnauthorized) {
await handlers.onUnauthorized(normalized);
}
if (normalized.status === 403 && handlers.onForbidden) {
await handlers.onForbidden(normalized);
}