[Libwebsockets] consider adding ".mjs" to server_mimetypes
andy at warmcat.com
Mon Apr 12 07:40:52 CEST 2021
On 4/11/21 3:09 PM, Per Bothner wrote:
> https://v8.dev/features/modules#mjs recommends using the "mjs" extension
> for EcmaScript modules.
> That would mean adding
> to server_mimetypes in lib/roles/http/server/server.c.
> Not a priority, since using extra_mimetypes works fine.
> (I'm trying out a library that does use .mjs.)
It sounds fairly fundamental... I pushed a patch for it on main.
More information about the Libwebsockets