mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-15 06:53:07 +01:00
correct content-type for css files
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user