fix: fix path to solver worker
This commit is contained in:
@@ -70,7 +70,7 @@ export async function solveChallenges({
|
|||||||
|
|
||||||
const workers = workerChallenges.map(async (challenges) => {
|
const workers = workerChallenges.map(async (challenges) => {
|
||||||
const worker = new Worker(
|
const worker = new Worker(
|
||||||
new URL("./solver-worker.js", import.meta.url),
|
new URL("./worker.js", import.meta.url),
|
||||||
{
|
{
|
||||||
type: "module",
|
type: "module",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user