Fix 404 on trailing slash
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing

This commit is contained in:
kleph 2020-03-05 14:54:39 +01:00
parent 1c713d46d9
commit 5133edbc52

View file

@ -7,7 +7,7 @@ from flask import render_template
# pylint: disable=invalid-name
app = Flask(__name__)
app.url_map.strict_slashes = False
@app.route('/')
@app.route('/<int(min=0, max=23):hours>')