From 2b305f144d23640ee4a968c270fdb3d961d24442 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Wed, 2 Aug 2023 12:31:29 +0200 Subject: [PATCH] fix: link to profile in dev In development, the link to the profile page was incorrect in the header bar of the learning MFE (and other MFEs) as well. Note that the link was correct in the dashboard. --- changelog.d/20230802_123027_regis_fix_dev_profile_link.md | 1 + tutormfe/patches/openedx-lms-development-settings | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 changelog.d/20230802_123027_regis_fix_dev_profile_link.md diff --git a/changelog.d/20230802_123027_regis_fix_dev_profile_link.md b/changelog.d/20230802_123027_regis_fix_dev_profile_link.md new file mode 100644 index 0000000..7e3279b --- /dev/null +++ b/changelog.d/20230802_123027_regis_fix_dev_profile_link.md @@ -0,0 +1 @@ +- [Bugfix] In development, fix link to profile in header. (by @regisb) diff --git a/tutormfe/patches/openedx-lms-development-settings b/tutormfe/patches/openedx-lms-development-settings index aad502e..2ea4871 100644 --- a/tutormfe/patches/openedx-lms-development-settings +++ b/tutormfe/patches/openedx-lms-development-settings @@ -44,8 +44,8 @@ MFE_CONFIG["LEARNING_BASE_URL"] = "http://{{ MFE_HOST }}:{{ app["port"] }}" {% elif app_name == "ora-grading" %} ORA_GRADING_MICROFRONTEND_URL = "http://{{ MFE_HOST }}:{{ app["port"] }}/ora-grading" {% elif app_name == "profile" %} -PROFILE_MICROFRONTEND_URL = "{% if ENABLE_HTTPS %}https://{% else %}http://{% endif %}{{ MFE_HOST }}:{{ app["port"] }}/profile/u/" -MFE_CONFIG["ACCOUNT_PROFILE_URL"] = "http://{{ MFE_HOST }}:{{ app["port"] }}" +PROFILE_MICROFRONTEND_URL = "http:/{{ MFE_HOST }}:{{ app["port"] }}/profile/u/" +MFE_CONFIG["ACCOUNT_PROFILE_URL"] = "http://{{ MFE_HOST }}:{{ app["port"] }}/profile" {% elif app_name == "communications" %} COMMUNICATIONS_MICROFRONTEND_URL = "http://{{ MFE_HOST }}:{{ app["port"] }}/communications" MFE_CONFIG["SCHEDULE_EMAIL_SECTION"] = True