Commit 331de5c5 authored by JackV's avatar JackV
Browse files

Also redirect in case of trailing slashes

parent 5db8b7db
......@@ -99,6 +99,7 @@ def list_urls():
@app.route('/<path:path>')
@app.route('/<path:path>/')
def redirect(path):
if pure_string.match(path):
return handle_redirect(path)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment