mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Chat
This commit is contained in:
parent
b0fad8d4a2
commit
aea8ad22d1
6 changed files with 115 additions and 69 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue