Fix mimetypes

This commit is contained in:
2026-07-15 13:26:20 +02:00
parent b244a89eae
commit f742826e47
+8 -3
View File
@@ -510,11 +510,16 @@ detect_mime_type :: proc(url: string) -> string {
return "video/x-cpk"
case ".film":
return "video/x-film"
case "js", "javascript":
case ".js", ".javascript":
return "text/javascript"
case:
case ".json":
return "application/json"
case ".xml":
return "application/xml"
case ".html", ".htm":
return "text/html"
case:
return "application/octet-stream"
}
}