SurfSense/surfsense_backend/app
Claude d273f499a6
Refactor auth token usage to use AUTH_TOKEN_KEY constant
- 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.
2025-11-18 22:03:56 +00:00
..
agents feat: Implement local-first European AI architecture with Mistral NeMo and TildeOpen 2025-11-17 19:58:20 +02:00
config Refactor auth token usage to use AUTH_TOKEN_KEY constant 2025-11-18 22:03:56 +00:00
connectors chore: linting 2025-11-03 16:00:58 -08:00
prompts Fixed all ruff lint and formatting errors 2025-07-24 14:43:48 -07:00
retriver recurse fix 2025-08-20 10:21:59 -07:00
routes Implement dynamic site appearance configuration system 2025-11-18 10:58:31 +00:00
schemas Add disable_registration toggle to site configuration 2025-11-18 14:28:16 +02:00
services Update streaming service and database connection handling 2025-11-17 20:34:56 +02:00
tasks Update streaming service and database connection handling 2025-11-17 20:34:56 +02:00
utils feat: Implement local-first European AI architecture with Mistral NeMo and TildeOpen 2025-11-17 19:58:20 +02:00
__init__.py feat: SurfSense v0.0.6 init 2025-03-14 18:53:14 -07:00
app.py Refactor auth token usage to use AUTH_TOKEN_KEY constant 2025-11-18 22:03:56 +00:00
celery_app.py refactor: added batch commits and Increased task time limits in celery_app.py 2025-11-03 15:57:19 -08:00
db.py Add disable_registration toggle to site configuration 2025-11-18 14:28:16 +02:00
users.py Update streaming service and database connection handling 2025-11-17 20:34:56 +02:00