Skip to content

Commit

Permalink
Update cors
Browse files Browse the repository at this point in the history
  • Loading branch information
WillNilges committed Jan 23, 2024
1 parent 63dc031 commit 662ef24
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/meshdb/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,12 @@
# r"^https://\w+\.nycmesh\.net$",
# r"^http://\w+\.nycmesh\.net$",
CORS_ALLOWED_ORIGINS = [
r"https://\w+\.nycmesh\.net$",
r"http://\w+\.nycmesh\.net$",
"http://meshforms.meshsvc-grand.mesh.nycmesh.net",
"https://meshforms.meshsvc-grand.mesh.nycmesh.net",
"http://127.0.0.1:3000",
"http://localhost:3000",
"http://127.0.0.1:80",
"http://localhost:80",
]

CSRF_TRUSTED_ORIGINS = [
Expand Down

0 comments on commit 662ef24

Please sign in to comment.