Hey, hope anyone here can help
• successfully developed a multiplatform application for the browser, works well when running from the IDE
• after running wasmJsBrowserDistribution gradle target, I thought all I need to do is deploy the content of my productionExecutable directory to my web space
• index page loads, loads referenced resources but the wasm app doesnt run
• see a few errors
◦
wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.
• tried to add the content type the .htaccess in the deployment directory by
◦
AddType application/wasm .wasm
• doesnt change anything although the htaccess file is recognised since the
DirectoryIndex index.html
directive works
• Dont have much control over the web server (some apache) as its hosted by my ISP (
ionos.de)
anyone any ides / thoughts?