server: allow to configure CORS_ORIGIN

This commit is contained in:
2023-10-17 20:38:44 +02:00
parent 6c7b165e0c
commit c55f038ed4
2 changed files with 6 additions and 4 deletions

View File

@@ -6,6 +6,9 @@ class Settings(BaseSettings):
OPENMP_KMP_DUPLICATE_LIB_OK: bool = False
# CORS
CORS_ORIGIN: str = "*"
# Database
DATABASE_URL: str = "sqlite:///./reflector.sqlite3"