Fix test failures

This commit is contained in:
Tyler Beckman 2024-03-11 19:46:09 -06:00 committed by Tyler Beckman
parent 0dfe3d763d
commit cb67d65e53

View file

@ -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
}