Skip to content

Commit 93fad31

Browse files
committed
build: Update and add MFE URLs
Add MFE urls that match where MFEs run when you call `npm run dev` in the MFE repos.
1 parent a3a671c commit 93fad31

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lms/envs/development.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
"""
22
This settings file is optimized for local development. It should work equally well for bare-metal development and for
33
running inside of development environments such as tutor.
4+
5+
This file is currently in development itself and so may not work for everyone out of the box. More updates, including
6+
updated documentation will be added as we get closer to removing devstack.py
47
"""
58

69
#Helpers for loading plugins and their settings.
710
from edx_django_utils.plugins import add_plugins
811
from openedx.core.djangoapps.plugins.constants import ProjectType, SettingsType
912

1013
# Use the common file as the starting point.
14+
# pylint: disable=wildcard-import
1115
from .common import *
12-
from openedx.core.lib.derived import Derived, derive_settings
16+
from openedx.core.lib.derived import derive_settings
1317

1418
DEBUG = True
1519

@@ -66,13 +70,15 @@
6670
CORS_ALLOW_CREDENTIALS = True
6771
CORS_ORIGIN_WHITELIST = (
6872
"http://apps.local.openedx.io:1996",
73+
"http://apps.local.openedx.io:2000",
6974
)
7075

7176
# Cookie Related Settings
7277
SESSION_COOKIE_DOMAIN = '.local.openedx.io'
7378

7479
# MFE Development URLs
7580
LEARNER_HOME_MICROFRONTEND_URL = 'http://apps.local.openedx.io:1996/learner-dashboard/'
81+
LEARNING_MICROFRONTEND_URL = "http://apps.local.openedx.io:2000/learning/"
7682

7783
#######################################################################################################################
7884
#### DERIVE ANY DERIVED SETTINGS

0 commit comments

Comments
 (0)