diff --git a/lms/envs/devstack.py b/lms/envs/devstack.py index 300de1229d..936c1fe981 100644 --- a/lms/envs/devstack.py +++ b/lms/envs/devstack.py @@ -295,4 +295,4 @@ EDXNOTES_INTERNAL_API = 'http://edx.devstack.edxnotesapi:18120/api/v1' EDXNOTES_CLIENT_NAME = 'edx_notes_api-backend-service' ############## Settings for Microfrontends ######################### -LEARNING_MICROFRONTEND_URL = 'http://localhost:2000/' +LEARNING_MICROFRONTEND_URL = 'http://localhost:2000' diff --git a/lms/templates/preview_menu.html b/lms/templates/preview_menu.html index 44e0d546a9..c2b7ad8526 100644 --- a/lms/templates/preview_menu.html +++ b/lms/templates/preview_menu.html @@ -21,7 +21,7 @@ show_preview_menu = course and can_masquerade and supports_preview_menu def get_mfe_link(): if section: - mfe_link = '{}course/{}/{}'.format(settings.LEARNING_MICROFRONTEND_URL, course.id, section.location) + mfe_link = '{}/course/{}/{}'.format(settings.LEARNING_MICROFRONTEND_URL, course.id, section.location) if unit: mfe_link += '/' + unit else: