This commit is contained in:
Flummi
2020-04-08 02:19:20 +02:00
parent c97b08a7c4
commit 46082780e1
11 changed files with 97 additions and 130 deletions

View File

@ -43,7 +43,8 @@ router.get(/^\/([0-9]+)$/, async (req, res) => {
timestamp: new Date(query.stamp * 1000).toISOString()
},
next: query.next ? query.next : null,
prev: query.prev ? query.prev : null
prev: query.prev ? query.prev : null,
title: `${query.id} - f0ck.me`
};
res.reply({ body: tpl.render("views/item", data) });
});