Add redirect for old .html routes

This commit is contained in:
Noah 2014-04-06 21:33:40 -07:00
parent f982ad8ee8
commit a46930b148

View File

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