fix: add url slash for production services

This commit is contained in:
Danyal-Faheem 2024-01-18 14:36:47 +05:00 committed by Muhammad Faraz Maqsood
parent ab0add0848
commit e4658402e4

View File

@ -7,13 +7,13 @@ echo "credentials service - ./manage.py migrate create_or_update_site"
--site-domain "{{ CREDENTIALS_HOST }}" \
--site-name "{{ LMS_HOST }}" \
--platform-name "{{ PLATFORM_NAME }}" \
--lms-url-root "{% if ENABLE_HTTPS %}https{% else %}http{% endif %}{{ LMS_HOST }}" \
--catalog-api-url "{% if ENABLE_HTTPS %}https{% else %}http{% endif %}{{ DISCOVERY_HOST }}/api/v1/" \
--tos-url "{% if ENABLE_HTTPS %}https{% else %}http{% endif %}{{ LMS_HOST }}/tos" \
--privacy-policy-url "{% if ENABLE_HTTPS %}https{% else %}http{% endif %}{{ LMS_HOST }}/privacy-policy" \
--homepage-url "{% if ENABLE_HTTPS %}https{% else %}http{% endif %}{{ LMS_HOST }}" \
--lms-url-root "{% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ LMS_HOST }}" \
--catalog-api-url "{% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ DISCOVERY_HOST }}/api/v1/" \
--tos-url "{% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ LMS_HOST }}/tos" \
--privacy-policy-url "{% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ LMS_HOST }}/privacy-policy" \
--homepage-url "{% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ LMS_HOST }}" \
--company-name "{{ PLATFORM_NAME }}" \
--certificate-help-url "{% if ENABLE_HTTPS %}https{% else %}http{% endif %}{{ LMS_HOST }}" \
--certificate-help-url "{% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ LMS_HOST }}" \
--theme-name "{{ CREDENTIALS_THEME_NAME }}"
# for development