From e97cb4427f5a42f5f0a6c681a5bfedb32b58f219 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 77759ba7..2ce8cb54 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "snapshot": "fedx-scripts jest --updateSnapshot", "start": "fedx-scripts webpack-dev-server --progress", "start:with-theme": "paragon install-theme && npm start && npm install", - "dev": "PUBLIC_PATH=/admin-console/ 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=/admin-console/ 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": "fedx-scripts jest --coverage --passWithNoTests", "types": "tsc --noEmit" },