Skip to content
Snippets Groups Projects
Unverified Commit f70ca08f authored by Dave St.Germain's avatar Dave St.Germain Committed by GitHub
Browse files

Merge pull request #23180 from edx/dcs/learning-slash

Learning MFE URL should not have a slash
parents 9f8844e7 f8886239
No related branches found
No related tags found
No related merge requests found
......@@ -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'
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment