1
0
mirror of synced 2024-11-24 06:20:12 +01:00

Fix missing return statement in API server.

This commit is contained in:
Jennifer Taylor 2020-05-04 22:34:36 +00:00
parent 2e92e45ae6
commit 645e7dc55a

View File

@ -53,6 +53,7 @@ def after_request(response: Response) -> Response:
response.cache_control.no_cache = True
response.cache_control.must_revalidate = True
response.cache_control.private = True
return response
@app.teardown_request