Skip to content

Commit f92d488

Browse files
committed
fix: add CMS_ROOT_URL to common and production env
1 parent c7f5325 commit f92d488

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

cms/envs/common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -843,6 +843,7 @@
843843

844844
# Public domain name of Studio (should be resolvable from the end-user's browser)
845845
CMS_BASE = 'localhost:18010'
846+
CMS_ROOT_URL = "https://localhost:18010"
846847

847848
LOG_DIR = '/edx/var/log/edx'
848849

cms/envs/production.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ def get_env_setting(setting):
163163
CMS_BASE = ENV_TOKENS.get('CMS_BASE')
164164
LMS_BASE = ENV_TOKENS.get('LMS_BASE')
165165
LMS_ROOT_URL = ENV_TOKENS.get('LMS_ROOT_URL')
166+
CMS_ROOT_URL = ENV_TOKENS.get('CMS_ROOT_URL')
166167
LMS_INTERNAL_ROOT_URL = ENV_TOKENS.get('LMS_INTERNAL_ROOT_URL', LMS_ROOT_URL)
167168
ENTERPRISE_API_URL = ENV_TOKENS.get('ENTERPRISE_API_URL', LMS_INTERNAL_ROOT_URL + '/enterprise/api/v1/')
168169
ENTERPRISE_CONSENT_API_URL = ENV_TOKENS.get('ENTERPRISE_CONSENT_API_URL', LMS_INTERNAL_ROOT_URL + '/consent/api/v1/')

0 commit comments

Comments
 (0)