mirror of
https://github.com/godotengine/godot.git
synced 2025-10-23 01:43:36 +00:00
`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
|
||
|---|---|---|
| .. | ||
| engine | ||
| jsdoc2rst | ||
| libs | ||