This commit is contained in:
Shadowfacts 2022-06-16 20:02:47 -04:00
parent 5181af6dbc
commit e7e258e91c
1 changed files with 1 additions and 11 deletions

View File

@ -6,7 +6,7 @@ const domain = process.env.DOMAIN;
export default function webfinger(router: Router) {
router.get("/.well-known/webfinger", (req, res) => {
res.json({
subject: `acct:block@${domain}`,
subject: `acct:blog@${domain}`,
aliases: [`https://${domain}/ap/actor`],
links: [
{
@ -16,16 +16,6 @@ export default function webfinger(router: Router) {
}
]
} as WebfingerResult);
res.json({
"subject": `acct:blog@${domain}`,
"links": [
{
"rel": "self",
"type": "application/activity+json",
"href": `https://${domain}/ap/actor`
}
]
});
res.end();
});
}