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:
parent
6c247cdec8
commit
669671bd46
2 changed files with 8 additions and 0 deletions
7
internal/mimetype.go
Normal file
7
internal/mimetype.go
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
package internal
|
||||
|
||||
import "mime"
|
||||
|
||||
func init() {
|
||||
mime.AddExtensionType(".mjs", "text/javascript")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue