mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 14:00:35 +00:00
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:
committed by
Andreas Rumpf
parent
8fe8bed9c3
commit
9379f9353a
@@ -231,6 +231,7 @@ const mimes* = {
|
||||
"xcf": "application/x-xcf",
|
||||
"fig": "application/x-xfig",
|
||||
"xpi": "application/x-xpinstall",
|
||||
"wasm": "application/wasm",
|
||||
"amr": "audio/amr",
|
||||
"awb": "audio/amr-wb",
|
||||
"amr": "audio/amr",
|
||||
|
||||
Reference in New Issue
Block a user