Skip to content

Commit

Permalink
Merge pull request #309 from edx/varshamenon4/build-add-local-csrf-tr…
Browse files Browse the repository at this point in the history
…usted

build: add csrf to local settings
  • Loading branch information
varshamenon4 authored Sep 3, 2024
2 parents 908be84 + 4c69471 commit 1b76cf3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions edx_exams/settings/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@
EXAMS_DASHBOARD_MFE_URL,
)

CSRF_TRUSTED_ORIGINS = (
'http://localhost:2001',
LEARNING_MICROFRONTEND_URL,
EXAMS_DASHBOARD_MFE_URL,
)

ALLOWED_HOSTS = ['*']

#####################################################################
Expand Down

0 comments on commit 1b76cf3

Please sign in to comment.