Update app/config/settings.py
Browse files- app/config/settings.py +1 -0
app/config/settings.py
CHANGED
@@ -9,3 +9,4 @@ COLLECTION_NAME = os.getenv("COLLECTION_NAME", "monthly_records")
|
|
9 |
|
10 |
# CORS
|
11 |
ALLOWED_ORIGINS = [o.strip() for o in os.getenv("ALLOWED_ORIGINS", "http://localhost:3000").split(",") if o.strip()]
|
|
|
|
9 |
|
10 |
# CORS
|
11 |
ALLOWED_ORIGINS = [o.strip() for o in os.getenv("ALLOWED_ORIGINS", "http://localhost:3000").split(",") if o.strip()]
|
12 |
+
ALLOWED_ORIGIN_REGEX = os.getenv("ALLOWED_ORIGIN_REGEX") # new
|