- Replace hardcoded allow_origins=['*'] with dynamic configuration - Read CORS_ORIGINS environment variable (comma-separated list) - Default to 'http://localhost:3000' if CORS_ORIGINS is not set - Support multiple origins by splitting and stripping whitespace from env var |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| annotation_ingestion.py | ||
| config.py | ||
| data_access.py | ||
| db.py | ||
| main.py | ||
| patterns.py | ||
| preprocessing.py | ||