From 6fd0df4b8279b3856b1f84bb6cbeb861e1cb8a82 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Fri, 8 May 2020 01:11:54 +0200 Subject: add .js content-type --- hittpd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hittpd.c b/hittpd.c index 2885c21..7ec4337 100644 --- a/hittpd.c +++ b/hittpd.c @@ -79,6 +79,7 @@ char mimetypes[] = ":.jpg=image/jpeg" ":.png=image/png" ":.css=text/css" + ":.js=application/javascript" ":.txt=text/plain" ":.xml=text/xml" ":.xsl=text/xml" -- cgit 1.4.1