This commit is contained in:
Aevann1 2022-04-21 18:10:15 +02:00
parent 115585c8a8
commit c2a0f90a82

View file

@ -123,15 +123,8 @@ def stats():
}
@app.get("/chart")
@auth_required
def chart(v):
days = bool(request.values.get("days"))
file = cached_chart(days)
try: f = send_file(file)
except:
print('/chart', flush=True)
abort(404)
return f
return redirect('/weekly_chart')
@app.get("/weekly_chart")