From 91a9adb0de32a091dea726aa8c7ca44daacce271 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Thu, 6 Aug 2026 12:54:42 -0400 Subject: [PATCH] build: Default the dev MFE config API URL to local.openedx.io 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 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5b2a43732..7a97bcc9a 100755 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "lint-fix": "fedx-scripts eslint --fix --ext .jsx,.js src/", "semantic-release": "semantic-release", "start": "fedx-scripts webpack-dev-server --progress", - "dev": "PUBLIC_PATH=/ora-grading/ MFE_CONFIG_API_URL='http://localhost:8000/api/mfe_config/v1' fedx-scripts webpack-dev-server --progress --host apps.local.openedx.io", + "dev": "PUBLIC_PATH=/ora-grading/ MFE_CONFIG_API_URL='http://local.openedx.io:8000/api/mfe_config/v1' fedx-scripts webpack-dev-server --progress --host apps.local.openedx.io", "test": "TZ=GMT fedx-scripts jest --coverage --passWithNoTests", "watch-tests": "jest --watch" },