Disable pretty printing of JSON, since it can break Docker CLI
This commit is contained in:
parent
8b8084f484
commit
4c9a1c1621
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@ import os
|
||||||
from app import app as application
|
from app import app as application
|
||||||
from data.model import db as model_db
|
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
|
# Initialize logging
|
||||||
application.config['LOGGING_CONFIG']()
|
application.config['LOGGING_CONFIG']()
|
||||||
|
|
Reference in a new issue