diff --git a/lib/build/tasks.js b/lib/build/tasks.js index 172edfc3..f720d49c 100644 --- a/lib/build/tasks.js +++ b/lib/build/tasks.js @@ -253,13 +253,14 @@ module.exports = { News.find(maxRecentNews), //some recent newsposts Posts.db.find({'board': {$in: listedBoards}, 'thread': null, 'date': {$gte: (new Date(Date.now() - (7 * 24 * 60 * 60 * 1000)))}}).sort({'replyposts':-1}).limit(5).toArray(), //top 5 threads last 7 days ]); - const [ localStats, webringStats, hotThreads ] = totalStats; + const [ localStats, webringStats ] = totalStats; const { html } = await render('index.html', 'home.pug', { localStats, webringStats, boards, fileStats, recentNews, + hotThreads, }); const end = process.hrtime(start); debugLogs && console.log(timeDiffString(label, end));