Commit 507d643a authored by chechunchi's avatar chechunchi

add some log

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