Fix 404 on trailing slash #12

Merged
kleph merged 1 commit from trailing_slash into master 2020-03-06 09:35:55 +01:00

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