From 056de124849dd5ee75073b0b99205a7e6b468932 Mon Sep 17 00:00:00 2001 From: pictuga Date: Sat, 21 Mar 2020 23:06:28 +0100 Subject: [PATCH] morss: add sheet.xsl to file handled by http server --- morss/morss.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/morss/morss.py b/morss/morss.py index 0076d36..db6637a 100644 --- a/morss/morss.py +++ b/morss/morss.py @@ -559,7 +559,8 @@ def cgi_wrapper(environ, start_response): # simple http server for html and css files = { '': 'text/html', - 'index.html': 'text/html'} + 'index.html': 'text/html', + 'sheet.xsl': 'text/xsl'} if 'REQUEST_URI' in environ: url = environ['REQUEST_URI'][1:]