Fix typo
This commit is contained in:
parent
5181af6dbc
commit
e7e258e91c
|
@ -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();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue