feat: configure API dev proxy and improve useApiFetch error handling

- Add Nitro devProxy for local proxying of api/v1 and uploads to the backend server
- Improve useApiFetch to dynamically clear auth state and navigate to login on 401/403 errors
- Automatically strip Content-Type headers for multipart FormData upload request bodies
- Add css rule to fix Bootstrap Italia navbar link border display
- Add ts-expect-error tag to avoid type checking issues with bootstrap-italia bundle loading
This commit is contained in:
2026-06-12 19:04:19 +02:00 Unverified
parent 818ac15eaa
commit 834fdade2b
4 changed files with 65 additions and 3 deletions
+4
View File
@@ -1,3 +1,7 @@
a {
text-decoration: none!important;
}
html body .navbar .navbar-collapsable .navbar-nav li.nav-item a.nav-link[data-focus-mouse="true"], .navbar .navbar-collapsable .navbar-nav li.nav-item button.nav-link[data-focus-mouse="true"] {
border-color: inherit !important
}