Added / to the end of the base legacy url route

This is required because Flask is forcing (via 301) / to be appended to the url
which previously resulted in no rule matching legacy pages. We could disable
strict_slashes to fix this, but it might cause issues elsewhere.
This commit is contained in:
str4d
2012-12-19 11:37:11 +00:00
parent 3da2868589
commit 487e9ae935

View File

@@ -81,7 +81,7 @@ url('/status-<int:year>-<int:month>-<int:day>', 'legacy.legacy_status')
url('/status-<int:year>-<int:month>-<int:day>.html', 'legacy.legacy_status')
url('/<string:f>_<lang:lang>', 'legacy.legacy_show')
url('/<string:f>_<lang:lang>.html', 'legacy.legacy_show')
url('/<string:f>', 'legacy.legacy_show')
url('/<string:f>/', 'legacy.legacy_show')
url('/<string:f>.html', 'legacy.legacy_show')