WebAssembly file - sending correct content type
In Chromium, the warning was:
In Firefox, it looked a little bit different:
The solution is sending correct
Content-Type header for the .wasm file:
When sending the file dynamically (e.g. from PHP), it can be easily done.
But my web application was only a bunch of static files and I did not want to bring any unnecessary complications to it by adding server-side code.
.htaccess file in the directory where the .wasm file resides helped:
Thankfully, my web hosting has not disabled this functionality or