From: Denys Vlasenko Date: Fri, 7 Jun 2019 07:32:03 +0000 (+0200) Subject: httpd: add js to built in MIME types list X-Git-Tag: 1_31_0~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5c317c0b8d7dd9bb86f220b445472e5d6cd6db02;p=oweals%2Fbusybox.git httpd: add js to built in MIME types list Firefox needs this to execute .js Signed-off-by: Denys Vlasenko --- diff --git a/networking/httpd.c b/networking/httpd.c index b09ac0a2f..9d4130244 100644 --- a/networking/httpd.c +++ b/networking/httpd.c @@ -1729,6 +1729,7 @@ static NOINLINE void send_file_and_exit(const char *url, int what) ".svg\0" "image/svg+xml\0" /* .css line must be after .c line */ ".css\0" "text/css\0" + ".js\0" "application/x-javascript\0" ".wav\0" "audio/wav\0" ".avi\0" "video/x-msvideo\0" ".qt.mov\0" "video/quicktime\0"