mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
Fix test failures
This commit is contained in:
parent
0dfe3d763d
commit
cb67d65e53
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue