Skip to content

Commit

Permalink
fix: FIX: Adding unc.edu to CSRF origins
Browse files Browse the repository at this point in the history
  • Loading branch information
Hina Shah committed Apr 23, 2024
1 parent c314109 commit 471f35f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions appstore/appstore/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,9 +345,8 @@
}

CSRF_TRUSTED_ORIGINS = [
"https://localhost",
"https://127.0.0.1",
"https://*.renci.org",
"https://*.renci.unc.edu"
]

# All debug settings
Expand All @@ -360,6 +359,11 @@
"127.0.0.1",
]

CSRF_TRUSTED_ORIGINS += [
"https://localhost",
"https://127.0.0.1",
]

CORS_ALLOWED_ORIGINS = [
"https://localhost:3000",
"https://127.0.0.1:3000",
Expand Down

0 comments on commit 471f35f

Please sign in to comment.