Fix 404 on trailing slash
This commit is contained in:
parent
1c713d46d9
commit
5133edbc52
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ from flask import render_template
|
||||||
|
|
||||||
# pylint: disable=invalid-name
|
# pylint: disable=invalid-name
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
|
app.url_map.strict_slashes = False
|
||||||
|
|
||||||
@app.route('/')
|
@app.route('/')
|
||||||
@app.route('/<int(min=0, max=23):hours>')
|
@app.route('/<int(min=0, max=23):hours>')
|
||||||
|
|
Loading…
Reference in a new issue