mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 04:39:06 +00:00
server: allow to configure CORS_ORIGIN
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user