Index | Thread | Search

From:
Matthieu Herrb <matthieu@openbsd.org>
Subject:
add text/javascript mjs to mime.types
To:
tech@openbsd.org
Date:
Mon, 20 May 2024 11:34:59 +0200

Download raw body.

Thread
Hi,

I'm running nextcloud with httpd(8) on one of my servers.
After upgrading to nextcloud 28 it complains that no MIME type is
defined for the .mjs extension.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
includes the following. ok ?

Index: mime.types
===================================================================
RCS file: /local/cvs/src/share/misc/mime.types,v
diff -u -p -u -r1.4 mime.types
--- mime.types	6 Jan 2018 22:05:03 -0000	1.4
+++ mime.types	20 May 2024 09:28:28 -0000
@@ -79,6 +79,7 @@ image/x-ms-bmp						bmp
 
 text/css						css
 text/html						html htm shtml
+text/javascript						mjs
 text/mathml						mml
 text/plain						txt
 text/vnd.sun.j2me.app-descriptor			jad

-- 
Matthieu Herrb