Skip to content

Commit

Permalink
feat: add exams dashboard to whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
varshamenon4 committed Jul 7, 2023
1 parent 6045bc6 commit 60db022
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions edx_exams/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,3 +273,5 @@ def root(*path_fragments):
LOGGING = get_logger_config(debug=DEBUG)

LEARNING_MICROFRONTEND_URL = None

EXAMS_DASHBOARD_MFE_URL = None
2 changes: 2 additions & 0 deletions edx_exams/settings/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,12 @@
ROOT_URL = 'http://localhost:18740'
LMS_ROOT_URL = 'http://localhost:18000'
LEARNING_MICROFRONTEND_URL = 'http://localhost:2000'
EXAMS_DASHBOARD_MFE_URL = 'http://localhost:2020'

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

ALLOWED_HOSTS = ['*']
Expand Down

0 comments on commit 60db022

Please sign in to comment.