diff options
| author | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2021-11-22 14:17:44 +0000 |
|---|---|---|
| committer | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2021-11-22 14:17:44 +0000 |
| commit | a84425a42e9246243dffd23dba33b4d4a5b626ac (patch) | |
| tree | 5e0a356407e50b172afeb8662a6a6f2fb6e334fe /app/index.mjs | |
| parent | 7d1aa7d48e5f16d639713804d6a86290fac7ffab (diff) | |
Update styles & add page rebuilding
Diffstat (limited to 'app/index.mjs')
| -rw-r--r-- | app/index.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |
