From ef299bd9ba008aa01b770d3a0ea4ee650eccecd7 Mon Sep 17 00:00:00 2001 From: wellenvogel Date: Sun, 21 Nov 2021 18:10:58 +0100 Subject: [PATCH] correct content-type for css files --- extra_script.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extra_script.py b/extra_script.py index a47c8ac..8dc3ab2 100644 --- a/extra_script.py +++ b/extra_script.py @@ -163,6 +163,8 @@ def getContentType(fn): return "application/json" if (fn.endswith('js')): return "text/javascript" + if (fn.endswith('css')): + return "text/css" return "application/octet-stream" def prebuild(env):