MatrixIA commited on
Commit
23c0537
·
verified ·
1 Parent(s): f74c180

Update app/config/settings.py

Browse files
Files changed (1) hide show
  1. 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