Compare commits

..

No commits in common. "3487cabc02aa26db02fe9d2671672e04627bdc2a" and "5712e77a293b94ae83c1d81385cc9fd215ccee54" have entirely different histories.

1 changed files with 0 additions and 2 deletions

View File

@ -182,10 +182,8 @@ export default async function ({ app, shell, BrowserWindow, ipcMain }) {
let file = new File([data], name, { let file = new File([data], name, {
type: fileType type: fileType
}) })
const stats = fs.statSync(path)
formData.append('file', file) formData.append('file', file)
formData.append('md5', md5) formData.append('md5', md5)
formData.append('lastModifyTime', stats.mtime.toLocaleString())
axios axios
.post(url, formData, config) .post(url, formData, config)
.then((response) => { .then((response) => {