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:
Zachary Carter
2018-07-21 15:42:07 -04:00
committed by Andreas Rumpf
parent 8fe8bed9c3
commit 9379f9353a

View File

@@ -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",