build: Default the dev MFE config API URL to local.openedx.io - #1981
Open
feanil wants to merge 1 commit into
Open
build: Default the dev MFE config API URL to local.openedx.io#1981feanil wants to merge 1 commit into
feanil wants to merge 1 commit into
Conversation
Fetching MFE config from local.openedx.io:8000 instead of localhost:8000 keeps the LMS, Studio, and MFEs under one *.local.openedx.io domain, which avoids localhost-specific CORS/cookie carve-outs and better matches a production setup. Works with Tutor dev (whose default LMS host is local.openedx.io) and with the upcoming openedx-platform bare-metal development.py config. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
12 tasks
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1981 +/- ##
=======================================
Coverage 91.48% 91.48%
=======================================
Files 353 353
Lines 5838 5838
Branches 1356 1356
=======================================
Hits 5341 5341
Misses 478 478
Partials 19 19 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
feanil
marked this pull request as ready for review
August 7, 2026 20:15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Defaults the
devnpm script'sMFE_CONFIG_API_URLtohttp://local.openedx.io:8000/api/mfe_config/v1instead ofhttp://localhost:8000/....Fetching MFE config from
local.openedx.iokeeps the LMS, Studio, and MFEs under one*.local.openedx.iodomain, which avoids localhost-specific CORS/cookie carve-outs and better matches a production setup. It works with Tutor dev (whose default LMS host islocal.openedx.io) and with the upcoming openedx-platform bare-metaldevelopment.pyconfig.Motivated by openedx/openedx-platform#37444.