@nger/fk-upload 1.0.92 → 1.0.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -162,9 +162,10 @@ let FkService = class FkService {
162
162
  task.uploadUrl = fullUrl;
163
163
  }
164
164
  }
165
- console.log(`uploading ${task.filename} ${Math.floor((index + 1 / task.totalChunks))}%`);
165
+ // console.log(`uploading ${task.filename} ${Math.floor((index + 1 / task.totalChunks))}%`)
166
166
  index = index + 1;
167
167
  } while (!complete);
168
+ index = 0;
168
169
  // upload complete
169
170
  axios_1.default.post(`https://smr00.vip.webportal.top/ajax/advanceUpload.jsp?cmd=_report&_TOKEN=${task.token}`, this.encodeURIComponent({
170
171
  type: 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nger/fk-upload",
3
- "version": "1.0.92",
3
+ "version": "1.0.93",
4
4
  "description": "",
5
5
  "main": "dist/core.js",
6
6
  "types": "dist/core.d.ts",