From 5604cd4bf83d401e300c78a7844999d11285d1fd Mon Sep 17 00:00:00 2001 From: "iamcristye@outlook.com" Date: Mon, 29 Nov 2021 22:46:40 +0800 Subject: [PATCH] Improvement: `settheme` now works with preview domain --- CHANGELOG.md | 1 + tutor/jobs.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05934e3..3f11ac0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Note: Breaking changes between versions are indicated by "💥". ## Unreleased - [Bugfix] Remove trailing slashes in docker-compose files for [compatibility with docker-compose v2 in WSL](https://github.com/docker/compose/issues/8558). +- [Improvement] `settheme` now works with preview domain. ## v12.1.7 (2021-11-18) diff --git a/tutor/jobs.py b/tutor/jobs.py index 6a326e9..87b7396 100644 --- a/tutor/jobs.py +++ b/tutor/jobs.py @@ -147,4 +147,6 @@ def get_all_openedx_domains(config: Config) -> List[str]: get_typed(config, "LMS_HOST", str) + ":8000", get_typed(config, "CMS_HOST", str), get_typed(config, "CMS_HOST", str) + ":8001", + get_typed(config, "PREVIEW_LMS_HOST", str), + get_typed(config, "PREVIEW_LMS_HOST", str) + ":8000", ]