Preview url is read in from environment file.
This commit is contained in:
@@ -81,7 +81,7 @@ with open(ENV_ROOT / CONFIG_PREFIX + "env.json") as env_file:
|
||||
ENV_TOKENS = json.load(env_file)
|
||||
|
||||
LMS_BASE = ENV_TOKENS.get('LMS_BASE')
|
||||
MITX_FEATURES['PREVIEW_LMS_BASE'] = ENV_TOKENS.get('PREVIEW_LMS_BASE')
|
||||
# Note that MITX_FEATURES['PREVIEW_LMS_BASE'] gets read in from the environment file.
|
||||
|
||||
SITE_NAME = ENV_TOKENS['SITE_NAME']
|
||||
|
||||
|
||||
@@ -39,9 +39,8 @@ MITX_FEATURES = {
|
||||
'STUDIO_NPS_SURVEY': True,
|
||||
'SEGMENT_IO': True,
|
||||
|
||||
# Enable URL that shows information about the status of variuous services
|
||||
'ENABLE_SERVICE_STATUS': False,
|
||||
'PREVIEW_LMS_BASE' : None
|
||||
# Enable URL that shows information about the status of various services
|
||||
'ENABLE_SERVICE_STATUS': False
|
||||
}
|
||||
ENABLE_JASMINE = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user