Skip to content

Please set the correct MIME type for .wasm files #22863

Answered by lee-dohm
dandv asked this question in General
Discussion options

You must be logged in to vote

Thanks for reaching out about this! In short, it’s not possible to manually assign a content-type for files on GitHub Pages.

GitHub Pages supports more than 750 MIME types across 1,000s of file extensions. The list of supported MIME types is generated from the mime-db project, which aggregates MIME types from the Apache and Nginx projects as well as the official IANA list of internet content types.

If you wish to contribute a new mime type to mime-db please see the contributing instructions here.

https://github.com/jshttp/mime-db#adding-custom-media-types

I hope this helps!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants