Add application/wasm to mimetypes.nim (#8389)
``` To serve wasm in the most efficient way over the network, make sure your web server has the proper MIME time for .wasm files, which is application/wasm. That will allow streaming compilation, where the browser can start to compile code as it downloads. ``` http://kripken.github.io/emscripten-site/docs/compiling/WebAssembly.html#web-server-setup
This commit is contained in:
parent
8fe8bed9c3
commit
9379f9353a
1 changed files with 1 additions and 0 deletions
|
|
@ -231,6 +231,7 @@ const mimes* = {
|
||||||
"xcf": "application/x-xcf",
|
"xcf": "application/x-xcf",
|
||||||
"fig": "application/x-xfig",
|
"fig": "application/x-xfig",
|
||||||
"xpi": "application/x-xpinstall",
|
"xpi": "application/x-xpinstall",
|
||||||
|
"wasm": "application/wasm",
|
||||||
"amr": "audio/amr",
|
"amr": "audio/amr",
|
||||||
"awb": "audio/amr-wb",
|
"awb": "audio/amr-wb",
|
||||||
"amr": "audio/amr",
|
"amr": "audio/amr",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue