I get the same warning in Firefox when using node.js's http-server (I never noticed this before though, I guess it's a new Firefox feature), but the response content-type looks alright IMHO (application/wasm; charset=utf-8).
Interestingly, I used to get this JS warning in Chrome when using the python SimpleHttpServer module for serving, and this definitely did not set the right content-type for wasm files. Switching to node's http-server fixed this message in Chrome.
I guess it's a Firefox bug *shrugs*.
This is how I run http-server:
http-server -c-1 -g -o
"-o" opens the browser after starting
"-g" serves files compressed
"-c-1" disabled caching
Cheers!