Skip to content

Commit

Permalink
Update settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
idabblewith committed Jul 24, 2024
1 parent dcb89c3 commit 1d873c7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,19 @@
"dbcab2c.b2clogin.com",
"dbcab2c.onmicrosoft.com",
"login.microsoftonline.com",
"scienceprojects-test.dbca.wa.gov.au",
"scienceprojects.dbca.wa.gov.au",
"auth2.dbca.wa.gov.au",
"auth2-uat.dbca.wa.gov.au",
"http://localhost",
"http://0.0.0.0",
"http://0.0.0.0:8000",
"http://127.0.0.1",
"http://127.0.0.1:3000",
"https://scienceprojects-test.dbca.wa.gov.au",
"https://scienceprojects.dbca.wa.gov.au",
"https://auth2.dbca.wa.gov.au",
"https://auth2-uat.dbca.wa.gov.au",
]

if not DEBUG and not PRINCE_SERVER_URL.startswith("/usr"):
Expand Down Expand Up @@ -178,8 +186,14 @@
"DELETE",
]
CORS_ALLOW_HEADERS = [
# "X-CSRFToken",
# "Content-Type",
"X-CSRFToken",
"Content-Type",
"Authorization",
"X-Requested-With",
"Accept",
"Origin",
]


Expand Down

0 comments on commit 1d873c7

Please sign in to comment.