correct content-type for css files

This commit is contained in:
wellenvogel 2021-11-21 18:10:58 +01:00
parent 1805f5578b
commit ef299bd9ba
1 changed files with 2 additions and 0 deletions

View File

@ -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):