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"
             });