Skip to content

Commit

Permalink
Support nycmesh.net domains (#540)
Browse files Browse the repository at this point in the history
  • Loading branch information
james-otten authored Sep 16, 2024
1 parent f9c372d commit ab0c8a9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/meshdb/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,20 +65,29 @@
"meshdb",
"nginx",
"devdb.mesh.nycmesh.net",
"devdb.nycmesh.net",
]

CORS_ALLOWED_ORIGINS = [
"https://forms.mesh.nycmesh.net",
"https://devforms.mesh.nycmesh.net",
"https://forms.nycmesh.net",
"https://forms.devdb.nycmesh.net",
"https://map.mesh.nycmesh.net",
"https://devmap.mesh.nycmesh.net",
"https://map.db.nycmesh.net",
"https://map.devdb.nycmesh.net",
"https://adminmap.mesh.nycmesh.net",
"https://devadminmap.mesh.nycmesh.net",
"https://adminmap.db.nycmesh.net",
"https://adminmap.devdb.nycmesh.net",
]

CSRF_TRUSTED_ORIGINS = [
"http://meshdb:8081",
"http://nginx:8080",
"https://db.nycmesh.net",
"https://devdb.nycmesh.net",
"http://devdb.mesh.nycmesh.net",
"https://devdb.mesh.nycmesh.net",
"http://db.mesh.nycmesh.net",
Expand Down

0 comments on commit ab0c8a9

Please sign in to comment.