godot/platform/javascript/js
Fabio Alessandrelli 6181452a54
[HTML5] Fix loading when mime-type is missing.
`WebAssembly.instantiateStreaming` requires the mime-type to be
`application/wasm`, but some servers (including most debug servers) do
not provide the content-type header.

This commit forces it via JavaScript, by creating a `Response` object
with the `wasm` content, and explicitly defined `content-type` header.

(cherry picked from commit 778ef4e217)
2021-03-20 23:10:00 +01:00
..
engine [HTML5] Fix loading when mime-type is missing. 2021-03-20 23:10:00 +01:00
jsdoc2rst [HTML5] Add jsdoc2rst tool. 2021-02-26 15:35:45 +01:00
libs [HTML5] Drag and drop zip in project manager. 2021-03-12 10:43:52 +01:00