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:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user