Limit size of uploading data
Change-Id: I023d28c1f2af93f7325d9afdeb24e8855e575fef
This commit is contained in:
parent
5caeef21ae
commit
711dd86576
@ -23,6 +23,7 @@ def make_app(kwargs):
|
||||
"""
|
||||
|
||||
app = flask.Flask(__name__)
|
||||
app.config['MAX_CONTENT_LENGTH'] = 5 * 1024 * 1024
|
||||
app.register_blueprint(v1_api, url_prefix='/v1')
|
||||
app.wsgi_app = auth_token.filter_factory(
|
||||
app.config, **kwargs)(app.wsgi_app)
|
||||
|
Loading…
Reference in New Issue
Block a user