Commit 7cd64275 authored by chechunchi's avatar chechunchi

fix mycard deploy

parent 939d8d4f
Pipeline #20727 passed with stages
in 13 minutes and 43 seconds
......@@ -83,7 +83,7 @@ const WaitRoom = () => {
await initStrings();
// 初始化wasm
await rustInit(new URL("rust_src_bg.wasm", import.meta.url));
await rustInit(new URL("rust_src_bg.wasm", import.meta.env.BASE_URL));
};
init();
......
......@@ -18,7 +18,8 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "preserve"
"jsx": "preserve",
"types": ["vite/client"]
},
"include": [
"src",
......
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