Incorrect response MIME type


I have integrated Jitsi meet into my website but everytime I am starting a call I’m receiving a Javascript error that doesn’t prevent Jitsi to work but which causes some annoying behaviour in my app because I have an error catcher that catches this one.

The error is this one:
wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.

Is there a solution to fix it? Thanks!

Hey @guillaume

most webservers don’t know about the wasm MIME type, so you have to add application/wasm wasm to /etc/mime.types if you’re using Apache.

For Nginx, add the above line in /etc/nginx/mime.types. Reload your webserver and you’re good to go.


Thank I’ll look into it!