目次
文書の過去の版を表示しています。
Blazor アプリ
トラブルシューティング
「Incorrect response MIME type. Expected 'application/wasm'.」が発生する
WASM: wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'. blazor.webassembly.js:1 WASM: falling back to ArrayBuffer instantiation blazor.webassembly.js:1 WASM: Initialized blazor.webassembly.js:1
Web サーバの mime.types を追加する。
$ sudo vi /etc/mime.types
- /etc/mime.types
x-conference/x-cooltalk ice x-epoc/x-sisx-app sisx application/wasm wasm
設定を反映させるために Apache をリロードする。
$ sudo systemctl reload httpd