mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 06:30:53 +03:00
added /api/info/:id route
This commit is contained in:
@@ -29,8 +29,7 @@ module.exports = async function(req, res) {
|
||||
const ttl = await storage.ttl(id);
|
||||
res.send({
|
||||
metadata: meta.metadata,
|
||||
dtotal: +meta.dl,
|
||||
dlimit: +meta.dlimit,
|
||||
finalDownload: +meta.dl + 1 === +meta.dlimit,
|
||||
size,
|
||||
ttl
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user