mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2026-11-17 13:11:27 +01:00
correct content-type for css files
This commit is contained in:
1 parent
1805f5578b
commit
ef299bd9ba
1 file changed
+2
@@ -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):
|
||||||
|
|||||||
Reference in new issue
Block a user