disable cache for graph.svg

This commit is contained in:
Wojciech Kwolek 2020-09-14 00:30:55 +02:00
parent ad2f8d9093
commit 15e33bef75
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ def graph_svg():
print(accomplishments) print(accomplishments)
return render_template('graph.svg', days=days, **gen_graph_data(accomplishments)), 200, {'Content-Type': 'image/svg+xml'} return render_template('graph.svg', days=days, **gen_graph_data(accomplishments)), 200, {'Content-Type': 'image/svg+xml', 'Cache-Control': 'no-cache'}
def gen_scale(base=10): def gen_scale(base=10):