mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-03 15:38:59 +00:00
Correcly handle old versions of the docs, where the file extension is .htm
This commit is contained in:
@ -42,7 +42,7 @@ urlpatterns = patterns('',
|
||||
(r'^mirrors.xml$', 'downloads.views.mirrors_xml'),
|
||||
(r'^applications-v2.xml$', 'downloads.views.applications_v2_xml'),
|
||||
|
||||
(r'^docs/(current|\d\.\d)/(static|interactive)/(.*).html$', 'docs.views.docpage'),
|
||||
(r'^docs/(current|\d\.\d)/(static|interactive)/(.*).html?$', 'docs.views.docpage'),
|
||||
(r'^docs/(current|\d\.\d)/(static|interactive)/$', 'docs.views.docsrootpage'),
|
||||
(r'^docs/(current|\d\.\d)/$', 'docs.views.redirect_root'),
|
||||
|
||||
|
Reference in New Issue
Block a user