From a84425a42e9246243dffd23dba33b4d4a5b626ac Mon Sep 17 00:00:00 2001 From: LMBishop <13875753+LMBishop@users.noreply.github.com> Date: Mon, 22 Nov 2021 14:17:44 +0000 Subject: Update styles & add page rebuilding --- app/index.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/index.mjs') diff --git a/app/index.mjs b/app/index.mjs index cf47100..0f14ccf 100644 --- a/app/index.mjs +++ b/app/index.mjs @@ -88,7 +88,7 @@ app.get('/special/rebuild', (req, res) => { }); app.get('/special/rebuild/confirm', (req, res) => { - if (directory.rebuild()[0]) { + if (directory.rebuild()) { res.status(200).send(); } else { res.status(429).send(); -- cgit v1.2.3-70-g09d2