This commit is contained in:
mrfry 2021-05-29 21:44:48 +02:00
parent b0fad8d4a2
commit aea8ad22d1
6 changed files with 115 additions and 69 deletions

View file

@ -206,7 +206,6 @@ function uploadFile(req: Request, path: string): Promise<any> {
const temp = file.name.split('.')
const extension = temp.pop()
fileName = temp.join('.') + '_' + id + '.' + extension
console.log(fileName)
fileDestination = path + '/' + fileName
}