1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00
Files
godot/platform/javascript
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
..
2021-01-13 16:17:06 +01:00
2021-01-04 17:01:42 -06:00
2021-02-18 11:58:08 +01:00
2021-02-18 11:58:08 +01:00
2021-03-20 23:05:13 +01:00
2021-02-26 15:35:45 +01:00
2021-02-26 15:35:45 +01:00