Commit facd3bfb authored by Chunchi Che's avatar Chunchi Che

Merge branch 'fix/neos/deploy' into 'main'

fix neos deploy

See merge request mycard/Neos!139
parents ed0097f1 49e6c9e0
Pipeline #20739 passed with stages
in 15 minutes and 7 seconds
......@@ -83,9 +83,11 @@ const WaitRoom = () => {
await initStrings();
// 初始化wasm
await rustInit(
new URL("rust_src_bg.wasm", `${import.meta.env.BASE_URL}assets/`)
);
const url =
import.meta.env.BASE_URL == "/"
? undefined
: new URL("rust_src_bg.wasm", `${import.meta.env.BASE_URL}assets/`);
await rustInit(url);
};
init();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment