mirror of
https://github.com/Foltik/Shimapan
synced 2024-11-30 22:41:47 -05:00
Add uploaded message
This commit is contained in:
parent
c9e250a68e
commit
001be23d00
@ -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
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user