fix indent

This commit is contained in:
Flummi
2021-03-03 07:56:46 +01:00
parent d6c12b9311
commit d553e71b50
8 changed files with 68 additions and 105 deletions

View File

@ -31,6 +31,7 @@ router.get(/\/(p\/\d+)?$/, async (req, res) => {
const data = {
items: query,
pagination: {
start: 1,
end: pages,
prev: (page > 1) ? page - 1 : null,
next: (page < pages) ? page + 1 : null,
@ -80,6 +81,7 @@ router.get(/^\/([0-9]+)$/, async (req, res) => {
prev: query.prev ? query.prev : null,
title: `${query.id} - f0ck.me`,
pagination: {
start: qmax,
end: 1,
prev: query.id + 1,
next: Math.max(query.id - 1, 1),