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) {
|
if (!req.query.resource) {
|
||||||
res.status(400).send();
|
res.status(400).send()
|
||||||
return
|
return
|
||||||
} else if (req.query.resource != "acct:keyoxide@keyoxide.org") {
|
} else if (req.query.resource !== 'acct:keyoxide@keyoxide.org') {
|
||||||
res.status(404).send();
|
res.status(404).send()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue