mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-03 15:38:59 +00:00
Properly render docs pages with missing index.html in the path.
This commit is contained in:
@ -22,4 +22,6 @@ def docpage(request, version, typ, filename):
|
||||
'page_content': page.content,
|
||||
'doc_index_filename': 'index.html',
|
||||
})
|
||||
|
||||
|
||||
def docsrootpage(request, version, typ):
|
||||
return docpage(request, version, typ, 'index')
|
||||
|
Reference in New Issue
Block a user