fix indent
This commit is contained in:
@ -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),
|
||||
|
Reference in New Issue
Block a user