diff --git a/application.py b/application.py index f15925b7e..5cfb29108 100644 --- a/application.py +++ b/application.py @@ -4,9 +4,6 @@ import os from app import app as application from data.model import db as model_db -# Turn off pretty printing of JSON responses since it can break Docker. -application.config['JSONIFY_PRETTYPRINT_REGULAR'] = False - # Initialize logging application.config['LOGGING_CONFIG']() diff --git a/config.py b/config.py index f9837357c..bf5afb96d 100644 --- a/config.py +++ b/config.py @@ -14,7 +14,7 @@ from test import analytics as fake_analytics class FlaskConfig(object): SECRET_KEY = '1cb18882-6d12-440d-a4cc-b7430fb5f884' - + JSONIFY_PRETTYPRINT_REGULAR = False class FlaskProdConfig(FlaskConfig): SESSION_COOKIE_SECURE = True