summaryrefslogtreecommitdiff
path: root/editor/node_3d_editor_gizmos.cpp
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-03-20 13:35:10 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-03-20 13:41:44 +0100
commit778ef4e217e6d4a967741b83cf1a0d13fb482755 (patch)
tree1a13ad1a2d801fe77046e5cdac5fa524cf9dfd68 /editor/node_3d_editor_gizmos.cpp
parent62e134a0c01bf19c2623dc73e05ebb6e0ab0c1b5 (diff)
[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.
Diffstat (limited to 'editor/node_3d_editor_gizmos.cpp')
0 files changed, 0 insertions, 0 deletions