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. |
||
|---|---|---|
| .. | ||
| .vscode | ||
| app | ||
| atoms | ||
| components | ||
| content/docs | ||
| contexts | ||
| contracts | ||
| hooks | ||
| i18n | ||
| lib | ||
| messages | ||
| public | ||
| .cursorrules | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| biome.json | ||
| components.json | ||
| Dockerfile | ||
| drizzle.config.ts | ||
| eslint.config.mjs | ||
| LICENSE | ||
| mdx-components.tsx | ||
| middleware.ts | ||
| next.config.ts | ||
| package-lock.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| postcss.config.mjs | ||
| source.config.ts | ||
| tailwind.config.js | ||
| tsconfig.json | ||