Skip to content

Commit

Permalink
fix: add local MFEs to CSRF_TRUSTED_ORIGINS in dev env
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveagent57 committed Jul 17, 2024
1 parent accbdc2 commit 9594ca4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions license_manager/settings/devstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@
]
# END CORS

# CSRF CONFIG
CSRF_TRUSTED_ORIGINS = [
'http://localhost:1991', # frontend-app-admin-portal
'http://localhost:8734', # frontend-app-learner-portal-enterprise
'http://localhost:18450', # frontend-app-support-tools
]
# END CSRF CONFIG

ENTERPRISE_LEARNER_PORTAL_BASE_URL = 'http://localhost:8734'
ENTERPRISE_CATALOG_URL = 'http://enterprise.catalog.app:18160'
LMS_URL = 'http://edx.devstack.lms:18000'
Expand Down

0 comments on commit 9594ca4

Please sign in to comment.