From d5259204c9d5dfd530fe785481544083f33130fe Mon Sep 17 00:00:00 2001 From: IMAWAKI Keisuke Date: Sun, 5 Mar 2023 22:50:02 +0900 Subject: [PATCH] UPDATE: serve .mjs files as text/javascript --- net/http/findcontenttype.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/http/findcontenttype.c b/net/http/findcontenttype.c index 04595c986..2a531f3b3 100644 --- a/net/http/findcontenttype.c +++ b/net/http/findcontenttype.c @@ -62,6 +62,7 @@ static const struct ContentTypeExtension { {"md", "text/plain"}, // {"mid", "audio/midi"}, // {"midi", "audio/midi"}, // + {"mjs", "text/javascript"}, // {"mp2", "audio/mpeg"}, // {"mp3", "audio/mpeg"}, // {"mp4", "video/mp4"}, //