1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-11-30 22:41:47 -05:00

Add uploaded message

This commit is contained in:
Jack Foltz 2018-07-27 14:26:55 -04:00
parent c9e250a68e
commit 001be23d00
Signed by: foltik
GPG Key ID: 303F88F996E95541

View File

@ -62,6 +62,7 @@ router.post('/', requireAuth('file.upload'), fileUpload, wrap(async (req, res) =
]); ]);
res.status(200).json({ res.status(200).json({
message: 'File uploaded.',
id: upload.id, id: upload.id,
url: config.get('Server.hostname') + '/v/' + upload.id url: config.get('Server.hostname') + '/v/' + upload.id
}); });