Add redirect for old .html routes

pull/2/head
Noah 2014-04-06 21:33:40 -07:00
parent f982ad8ee8
commit a46930b148
1 changed files with 1 additions and 1 deletions

View File

@ -94,4 +94,4 @@ def legacy_download():
@app.route("/<page>.html") @app.route("/<page>.html")
def legacy_url(page): def legacy_url(page):
return "/{}".format(page) return redirect("/{}".format(page))