diff --git a/cms/envs/aws_appsembler.py b/cms/envs/aws_appsembler.py index a69b7b7a63be..8b1d7ec272d2 100644 --- a/cms/envs/aws_appsembler.py +++ b/cms/envs/aws_appsembler.py @@ -93,3 +93,5 @@ # set media values for SCORM upload MEDIA_ROOT = '/edx/var/edxapp/media' MEDIA_URL = '/media/' + +HTTPS = ENV_TOKENS.get('BASE_SCHEME', 'https').lower() == 'http' and 'off' or 'on' diff --git a/lms/envs/aws_appsembler.py b/lms/envs/aws_appsembler.py index 8c3709a6bfc9..2b2345956095 100644 --- a/lms/envs/aws_appsembler.py +++ b/lms/envs/aws_appsembler.py @@ -114,3 +114,5 @@ CORS_REPLACE_HTTPS_REFERER = True CUSTOM_SSO_FIELDS_SYNC = ENV_TOKENS.get('CUSTOM_SSO_FIELDS_SYNC', {}) + +HTTPS = ENV_TOKENS.get('BASE_SCHEME', 'https').lower() == 'http' and 'off' or 'on'