From 35d88ae0e2481f70a5e7f20747ec7ea3e0742776 Mon Sep 17 00:00:00 2001 From: Kyle McCormick Date: Tue, 16 Jul 2019 17:10:42 -0400 Subject: [PATCH] Load COURSE_CATALOG_API_URL setting from env in Studio --- cms/envs/production.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cms/envs/production.py b/cms/envs/production.py index e97242ccdc..68edf2b3b4 100644 --- a/cms/envs/production.py +++ b/cms/envs/production.py @@ -164,6 +164,8 @@ ENTERPRISE_API_URL = ENV_TOKENS.get('ENTERPRISE_API_URL', LMS_INTERNAL_ROOT_URL ENTERPRISE_CONSENT_API_URL = ENV_TOKENS.get('ENTERPRISE_CONSENT_API_URL', LMS_INTERNAL_ROOT_URL + '/consent/api/v1/') # Note that FEATURES['PREVIEW_LMS_BASE'] gets read in from the environment file. +COURSE_CATALOG_API_URL = ENV_TOKENS.get('COURSE_CATALOG_API_URL', COURSE_CATALOG_API_URL) + # List of logout URIs for each IDA that the learner should be logged out of when they logout of # Studio. Only applies to IDA for which the social auth flow uses DOT (Django OAuth Toolkit). IDA_LOGOUT_URI_LIST = ENV_TOKENS.get('IDA_LOGOUT_URI_LIST', [])