From 4befa49f5755b7ddc6b9ff4f1760fda6c5f10801 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 32b693b84..02e3b2f8d 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "lint:fix": "fedx-scripts eslint --ext .js --ext .jsx . --fix", "snapshot": "fedx-scripts jest --updateSnapshot", "start": "fedx-scripts webpack-dev-server --progress", - "dev": "PUBLIC_PATH=/discussions/ 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=/discussions/ 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" }, "author": "edX",