mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-22 23:31:12 +02:00
- Add baseApiService token clearing on 401 in use-user.ts - Add baseApiService token clearing on 401 in use-chats.ts (both fetchChats and deleteChat) - Add baseApiService token clearing on 401 in use-search-space.ts - Update all redirects to /login?error=session_expired for better UX - Add session_expired error message to auth-errors.ts This ensures consistent session invalidation across all API hooks, preventing stale auth state in the baseApiService singleton. |
||
|---|---|---|
| .. | ||
| apis | ||
| connectors | ||
| query-client | ||
| auth-errors.ts | ||
| error.ts | ||
| pagination.ts | ||
| source.ts | ||
| utils.ts | ||