You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The integration of web-ifc-viewer in my project works fine in Firefox but not completely in Chrome.
Firefox loads the .wasm file from root: my-project.com/web-ifc.wasm
Chrome loads it prepending "js/": my-project.com/js/web-ifc.wasm
Even if I use setWasmPath('my-dir') chrome still prepends "js/":
my-project.com/js/my-dir/web-ifc.wasm (chrome)
my-project.com/my-dir/web-ifc.wasm (firefox)
Finally I could resolve it setting setWasmPath('../'), so all browsers loads wasm file from root
The text was updated successfully, but these errors were encountered:
The integration of web-ifc-viewer in my project works fine in Firefox but not completely in Chrome.
Firefox loads the .wasm file from root: my-project.com/web-ifc.wasm
Chrome loads it prepending "js/": my-project.com/js/web-ifc.wasm
Even if I use setWasmPath('my-dir') chrome still prepends "js/":
my-project.com/js/my-dir/web-ifc.wasm (chrome)
my-project.com/my-dir/web-ifc.wasm (firefox)
Finally I could resolve it setting setWasmPath('../'), so all browsers loads wasm file from root
The text was updated successfully, but these errors were encountered: