chore: pre-release cleanup

- Skip token clear/redirect on 401 for unauthenticated requests
- Fix typo in test secret key in restart-backend script
- Remove completed plan documents (entity-relationship-refactor, ux-notification-improvements)
This commit is contained in:
2026-04-21 19:39:33 +03:00
parent eecc9e295c
commit 90bc3ccdc2
19 changed files with 2 additions and 959 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ export async function api<T = any>(
}
}
if (res.status === 401) {
if (res.status === 401 && token) {
clearTokens();
if (typeof window !== 'undefined') {
window.location.href = '/login';