correct content-type for css files
This commit is contained in:
parent
1805f5578b
commit
ef299bd9ba
|
@ -163,6 +163,8 @@ def getContentType(fn):
|
||||||
return "application/json"
|
return "application/json"
|
||||||
if (fn.endswith('js')):
|
if (fn.endswith('js')):
|
||||||
return "text/javascript"
|
return "text/javascript"
|
||||||
|
if (fn.endswith('css')):
|
||||||
|
return "text/css"
|
||||||
return "application/octet-stream"
|
return "application/octet-stream"
|
||||||
|
|
||||||
def prebuild(env):
|
def prebuild(env):
|
||||||
|
|
Loading…
Reference in New Issue