diff --git a/tutor/templates/apps/openedx/settings/lms/production.py b/tutor/templates/apps/openedx/settings/lms/production.py index 6c2793b3bc..a18e4daf57 100644 --- a/tutor/templates/apps/openedx/settings/lms/production.py +++ b/tutor/templates/apps/openedx/settings/lms/production.py @@ -11,6 +11,8 @@ ] CORS_ORIGIN_WHITELIST.append("{% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ LMS_HOST }}") +MEILISEARCH_PUBLIC_URL = "{{ MEILISEARCH_PUBLIC_URL }}" + {% if ENABLE_HTTPS %} # Properly set the "secure" attribute on session/csrf cookies. This is required in # Chrome to support samesite=none cookies. diff --git a/tutor/templates/apps/openedx/settings/partials/common_all.py b/tutor/templates/apps/openedx/settings/partials/common_all.py index f156b0e423..4aca2724f6 100644 --- a/tutor/templates/apps/openedx/settings/partials/common_all.py +++ b/tutor/templates/apps/openedx/settings/partials/common_all.py @@ -37,7 +37,6 @@ # Meilisearch connection parameters MEILISEARCH_ENABLED = True MEILISEARCH_URL = "{{ MEILISEARCH_URL }}" -MEILISEARCH_PUBLIC_URL = "{{ MEILISEARCH_PUBLIC_URL }}" MEILISEARCH_INDEX_PREFIX = "{{ MEILISEARCH_INDEX_PREFIX }}" MEILISEARCH_API_KEY = "{{ MEILISEARCH_API_KEY }}" MEILISEARCH_MASTER_KEY = "{{ MEILISEARCH_MASTER_KEY }}"