Here, try this: https://gist.github.com/prideout/09af26cef84eef3e06a1e3f20a499a48
On Fri, Jul 19, 2019 at 5:06 PM キャロウ マーク <[email protected]> wrote: > I am attempting to test my app using python -m SimpleHTTPServer. I see the > following in the browser console: > > wasm streaming compile failed: TypeError: Response has unsupported MIME > type > > > How can I get SimpleHTTPServer to serve the wasm file with the correct > mime type? > > Regards > > -Mark > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/emscripten-discuss/8BBAD5A0-FE41-41A9-831F-1D6665D92C65%40callow.im > <https://groups.google.com/d/msgid/emscripten-discuss/8BBAD5A0-FE41-41A9-831F-1D6665D92C65%40callow.im?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAPA_S1ZUkdkngDXbjG4EDQN%3DHfX8C9iofbJs4o9sVhuKTQ20Cg%40mail.gmail.com.
