mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-24 23:41:10 +02:00
- Updated all hooks to import and use AUTH_TOKEN_KEY constant from lib/constants - Updated all components to use AUTH_TOKEN_KEY instead of hardcoded string - Updated all atoms to use AUTH_TOKEN_KEY - Updated all app pages to use AUTH_TOKEN_KEY - Made CORS origin configurable via CORS_ORIGINS environment variable - Added CORS_ORIGINS to .env.example with documentation This improves maintainability by centralizing the auth token key string, preventing typos and making it easier to change the key name if needed. |
||
|---|---|---|
| .. | ||
| 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 | ||