feat: Add link to stats from home page
All checks were successful
Build Docker / Build Image (push) Successful in 32s

This commit is contained in:
2023-12-29 20:04:31 +11:00
parent a400586b05
commit 9604f08c4e
5 changed files with 7 additions and 14 deletions

View File

@@ -148,13 +148,6 @@ def stats():
@app.route('/<path:path>')
def catch_all(path):
# # If file exists, load it
# if os.path.isfile('templates/' + path):
# return render_template(path)
# # Try with .html
# if os.path.isfile('templates/' + path + '.html'):
# return render_template(path + '.html')
return redirect('/?r='+path)
# 404 catch all