I am attempting to get this tutorial (here: https://www.hellorust.com/demos/add/index.html) to work, and it seems that whatever I do, I cannot get the WebAssembly MDN reserved f
there was some error; TypeError: "Response has unsupported MIME type"
The Web server you are running does not understands/serves a MIME typeapplication/wasm
.
You can use a rust based http server, it knows about wasm MIME type.
Simply use curl
curl -SsL https://cdn.rawgit.com/thecoshman/http/master/install.sh | sh
and execute the downloaded script or you can explorer other ways to do the same at https://crates.io/crates/https.
Please use the downloaded server to server your Web Application(index.html). e.g
cd ${YOUR_APPS_PATH}
http