From 4d2d5aff76d50f47925e6dbc8681ad790855bd60 Mon Sep 17 00:00:00 2001 From: Muhammad Faraz Maqsood Date: Fri, 1 Mar 2024 21:02:09 +0500 Subject: [PATCH] fix: add slash at the end of payment mfe url Payments page appears to be blank without ending forward slash --- tutorecommerce/templates/ecommerce/tasks/ecommerce/init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorecommerce/templates/ecommerce/tasks/ecommerce/init b/tutorecommerce/templates/ecommerce/tasks/ecommerce/init index 3e36096c..47e9c411 100644 --- a/tutorecommerce/templates/ecommerce/tasks/ecommerce/init +++ b/tutorecommerce/templates/ecommerce/tasks/ecommerce/init @@ -22,7 +22,7 @@ --payment-support-url="http://{{ LMS_HOST }}:8000/support" \ --discovery_api_url=http://{{ DISCOVERY_HOST }}:8381/api/v1/ \ --enable-microfrontend-for-basket-page=true \ - --payment-microfrontend-url="http://{{ MFE_HOST }}:{{ app['port'] }}/{{ app_name }}" + --payment-microfrontend-url="http://{{ MFE_HOST }}:{{ app['port'] }}/{{ app_name }}/" # Production site ./manage.py create_or_update_site \ @@ -44,7 +44,7 @@ --payment-support-url="{% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ LMS_HOST }}/support" \ --discovery_api_url={% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ DISCOVERY_HOST }}/api/v1/ \ --enable-microfrontend-for-basket-page=true \ - --payment-microfrontend-url="{% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ MFE_HOST }}/{{ app_name }}" + --payment-microfrontend-url="{% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ MFE_HOST }}/{{ app_name }}/" {% endif %} {% endfor %}