morss: add sheet.xsl to file handled by http server

master
pictuga 2020-03-21 23:06:28 +01:00
parent 961a31141f
commit 056de12484
1 changed files with 2 additions and 1 deletions

View File

@ -559,7 +559,8 @@ def cgi_wrapper(environ, start_response):
# simple http server for html and css # simple http server for html and css
files = { files = {
'': 'text/html', '': 'text/html',
'index.html': 'text/html'} 'index.html': 'text/html',
'sheet.xsl': 'text/xsl'}
if 'REQUEST_URI' in environ: if 'REQUEST_URI' in environ:
url = environ['REQUEST_URI'][1:] url = environ['REQUEST_URI'][1:]