mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2026-04-28 03:07:38 +02:00
File upload fix
This commit is contained in:
@@ -239,7 +239,7 @@ function setup(data: SubmoduleData): void {
|
||||
})
|
||||
})
|
||||
.catch(() => {
|
||||
res.end('something bad happened :s')
|
||||
res.json({ success: false, msg: 'something bad happened :s' })
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user