From cb67d65e53a7de48ef8204660faa3e44e65c42b0 Mon Sep 17 00:00:00 2001 From: Ty Date: Mon, 11 Mar 2024 19:46:09 -0600 Subject: [PATCH] Fix test failures --- src/routes/main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routes/main.js b/src/routes/main.js index eeb8306..2712df6 100644 --- a/src/routes/main.js +++ b/src/routes/main.js @@ -56,10 +56,10 @@ router.get('/.well-known/webfinger', (req, res) => { } if (!req.query.resource) { - res.status(400).send(); + res.status(400).send() return - } else if (req.query.resource != "acct:keyoxide@keyoxide.org") { - res.status(404).send(); + } else if (req.query.resource !== 'acct:keyoxide@keyoxide.org') { + res.status(404).send() return }