William
01/08/2024, 12:47 PMlocalhost:8080/review/1234
GET <http://localhost:8080/review/composeApp.wasm> 404 (Not Found)
Failed to execute 'compile' on 'WebAssembly': HTTP status code is not ok
TypeError: Failed to execute 'compile' on 'WebAssembly': HTTP status code is not ok
looks like in uninstantiated.mjs
the path is set relatively to current directory? I found this const wasmFilePath = './composeApp.wasm';
in the file
it is working as expected when it is something like <http://localhost:8080/login>
Am I'm doing something wrong? or this is the expected behavior?Pablichjenkov
01/08/2024, 2:52 PMWilliam
01/09/2024, 1:54 AM.mjs
path issue, because of this const wasmFilePath = './composeApp.wasm';
if i were to open a url like <http://localhost:8080/auth/login>
i'll get an error, as far as i know, const wasmFilePath = './composeApp.wasm';
means it's trying to load <http://localhost:8080/auth/composeApp.wasm>
instead of <http://localhost:8080/composeApp.wasm>
.. it's relative to the current urlWilliam
01/09/2024, 1:56 AMPablichjenkov
01/09/2024, 2:22 AMThomas
06/02/2024, 11:17 PM