diff --git a/go.mod b/go.mod index 54d7d8774d..0a59a5a7ca 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,7 @@ module github.com/wowsims/cata go 1.23 +toolchain go1.24rc2 require ( github.com/golang/protobuf v1.5.4 diff --git a/vite.build-workers.ts b/vite.build-workers.ts index 9784cd49ce..b3935f17f9 100644 --- a/vite.build-workers.ts +++ b/vite.build-workers.ts @@ -22,7 +22,7 @@ const args = minimist(process.argv.slice(2), { boolean: ['watch'] }); const buildWorkers = async () => { const { stdout } = await execAsync('go env GOROOT'); const GO_ROOT = stdout.replace('\n', ''); - const wasmExecutablePath = path.join(GO_ROOT, '/misc/wasm/wasm_exec.js'); + const wasmExecutablePath = path.join(GO_ROOT, '/lib/wasm/wasm_exec.js'); const wasmFile = await fs.readFile(wasmExecutablePath, 'utf8'); Object.entries(workers).forEach(async ([name, sourcePath]) => {