SurfSense/surfsense_web/components/sources
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
..
connector-data.tsx refactor(ux): combined sources to one section 2025-11-07 14:28:30 -08:00
ConnectorsTab.tsx refactor(ux): combined sources to one section 2025-11-07 14:28:30 -08:00
DocumentUploadTab.tsx Refactor auth token usage to use AUTH_TOKEN_KEY constant 2025-11-18 22:03:56 +00:00
GridPattern.tsx refactor(ux): combined sources to one section 2025-11-07 14:28:30 -08:00
types.ts refactor(ux): combined sources to one section 2025-11-07 14:28:30 -08:00
YouTubeTab.tsx Refactor auth token usage to use AUTH_TOKEN_KEY constant 2025-11-18 22:03:56 +00:00