fix(internal): register mime type for .mjs files (#577)

Closes #575

I'm gonna be totally honest, I'm not sure if this is needed. However,
measure twice, cut once.

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso
2025-05-28 09:52:48 -04:00
committed by GitHub
parent 6c247cdec8
commit 669671bd46
2 changed files with 8 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
package internal
import "mime"
func init() {
mime.AddExtensionType(".mjs", "text/javascript")
}