1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2024-11-25 02:23:05 +00:00
buildpack-nginx/conf
Igor Loskutov eeb2caf824
Add wasm mime type
This is needed for support of WASM standard' https://www.w3.org/TR/wasm-web-api-1/#streaming-modules instantiateStreaming and compileStreaming, 

and causes errors like

```
WASM: wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.
```

since plain text is returned instead.

It also doesn't seem to be easily fixable even with `nginx.conf.sigil` substitution
2023-04-16 20:33:18 +07:00
..
app-nginx.conf.sigil feat: allow overriding default 404 response with custom file 2022-08-07 19:10:31 -04:00
mime.types Add wasm mime type 2023-04-16 20:33:18 +07:00