mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-16 23:33:06 +01:00
correct content-type for css files
This commit is contained in:
@@ -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