Commit 12eaa63f authored by Chunchi Che's avatar Chunchi Che

Merge branch 'fix/path/wasm_succeed' into 'main'

fix mycard deploy

See merge request !138
parents 939d8d4f 7cd64275
Pipeline #20728 passed with stages
in 15 minutes and 18 seconds
...@@ -83,7 +83,7 @@ const WaitRoom = () => { ...@@ -83,7 +83,7 @@ const WaitRoom = () => {
await initStrings(); await initStrings();
// 初始化wasm // 初始化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(); init();
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"resolveJsonModule": true, "resolveJsonModule": true,
"isolatedModules": true, "isolatedModules": true,
"noEmit": true, "noEmit": true,
"jsx": "preserve" "jsx": "preserve",
"types": ["vite/client"]
}, },
"include": [ "include": [
"src", "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