remotes/1693045480750635534/spooky-22
Aevann1 2022-04-21 18:10:15 +02:00
parent 1ec4f1375d
commit 031d9c52e0
1 changed files with 1 additions and 8 deletions

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")