Commit 507d643a authored by chechunchi's avatar chechunchi

add some log

parent c157244e
......@@ -83,10 +83,9 @@ const WaitRoom = () => {
await initStrings();
// 初始化wasm
const url = new URL(
"rust_src_bg.wasm",
`${import.meta.env.BASE_URL}assets`
);
const originUrl = `${import.meta.env.BASE_URL}assets`;
const url = new URL("rust_src_bg.wasm", originUrl);
console.log(originUrl);
console.log(url);
await rustInit(url);
};
......
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