hotfix/2015-09-16-3: Re-enable uglification of JavaScript in production.

This commit is contained in:
Andy Armstrong
2015-09-16 12:26:01 -04:00
committed by Matt Drayer
parent 011062e570
commit 536783e6c9

View File

@@ -131,6 +131,9 @@ if STATIC_URL_BASE:
if not STATIC_URL.endswith("/"):
STATIC_URL += "/"
# Enable uglification of JavaScript
PIPELINE_JS_COMPRESSOR = 'pipeline.compressors.uglifyjs.UglifyJSCompressor'
# DEFAULT_COURSE_ABOUT_IMAGE_URL specifies the default image to show for courses that don't provide one
DEFAULT_COURSE_ABOUT_IMAGE_URL = ENV_TOKENS.get('DEFAULT_COURSE_ABOUT_IMAGE_URL', DEFAULT_COURSE_ABOUT_IMAGE_URL)