INNER CODE UNIT · Python
after_request
chonyy/AI-basketball-analysis · app.py:117
def after_request(response):
response.headers["Cache-Control"] = "no-cache, no-store, must-revalidate, public, max-age=0"
response.headers["Expires"] = 0
response.headers["Pragma"] = "no-cache"
return response
if __name__ == '__main__':
app.run(debug=True, use_reloader=True)