forked from p34709852/monkey
Set flask config 'JSON_SORT_KEYS' to false
This commit is contained in:
parent
82eef22b0f
commit
f6fd93bcb1
|
@ -143,6 +143,7 @@ def init_api_resources(api):
|
||||||
|
|
||||||
def init_app(mongo_url):
|
def init_app(mongo_url):
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
|
app.config['JSON_SORT_KEYS'] = False
|
||||||
|
|
||||||
api = flask_restful.Api(app)
|
api = flask_restful.Api(app)
|
||||||
api.representations = {'application/json': output_json}
|
api.representations = {'application/json': output_json}
|
||||||
|
|
Loading…
Reference in New Issue