Fail to load wasm-module
Hi! I've been trying to load my rust webapp via wasm in the html template.
The app is build using wasm-bindgen. And bundled using parcel. I've put all my js files and wasm assets into the assets directory.
However I've found that when trying to instantiate the wasm file, the app failed with the following error:
Fetch API cannot load file .../.../some.wasm. URL scheme "file" is not supported.
I believe wasm works in the web engine in ubuntu touch. Since my app runs fine by opening the url in the browser app. When loading wasm to frontend, servers might need to specify the assets type of the wasm blob, which I think is not being processed in the current workflow. Is there anyway I can specify that in the clickable.json?
Edited by Raymond Yeh