From 3bda9f0637ebcbaaac9694de88899705eed904d9 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Thu, 6 Aug 2026 12:34:03 -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 c1e95fb628..e501817555 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "lint:fix": "fedx-scripts eslint --fix --ext .js --ext .jsx --ext .ts --ext .tsx .", "start": "fedx-scripts webpack-dev-server --progress", "start:with-theme": "paragon install-theme && npm start && npm install", - "dev": "PUBLIC_PATH=/learning/ 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=/learning/ 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": "NODE_ENV=test fedx-scripts jest --coverage --passWithNoTests", "test:watch": "fedx-scripts jest --watch --passWithNoTests", "types": "tsc --noEmit"