mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-24 23:41:10 +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. |
||
|---|---|---|
| .. | ||
| index.ts | ||
| use-api-key.ts | ||
| use-chat.ts | ||
| use-chats.ts | ||
| use-connector-edit-page.ts | ||
| use-connectors.ts | ||
| use-document-by-chunk.ts | ||
| use-document-types.ts | ||
| use-documents.ts | ||
| use-github-stars.ts | ||
| use-llm-configs.ts | ||
| use-logs.ts | ||
| use-media-query.ts | ||
| use-mobile.ts | ||
| use-search-source-connectors.ts | ||
| use-search-space.ts | ||
| use-search-spaces.ts | ||
| use-user.ts | ||