Gitea 1 年之前
父節點
當前提交
08abff81dc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/cutFile.js

+ 1 - 1
tools/cutFile.js

@@ -7,7 +7,7 @@ export async function cutFile(file){
         const threadChunkCount = Math.ceil(chunkCount / THREAD_COUNT);
         let result = [], finishCount = 0;
         for(let i = 0; i < chunkCount; i++){
-            const worker = new Worker("node-modules/wxj-tools/tools/worker.js", {
+            const worker = new Worker("node_modules/wxj-tools/tools/worker.js", {
                 type: "module",
                 name: "cutFile"
             });