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) {
|
export default function webfinger(router: Router) {
|
||||||
router.get("/.well-known/webfinger", (req, res) => {
|
router.get("/.well-known/webfinger", (req, res) => {
|
||||||
res.json({
|
res.json({
|
||||||
subject: `acct:block@${domain}`,
|
subject: `acct:blog@${domain}`,
|
||||||
aliases: [`https://${domain}/ap/actor`],
|
aliases: [`https://${domain}/ap/actor`],
|
||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
|
@ -16,16 +16,6 @@ export default function webfinger(router: Router) {
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
} as WebfingerResult);
|
} as WebfingerResult);
|
||||||
res.json({
|
|
||||||
"subject": `acct:blog@${domain}`,
|
|
||||||
"links": [
|
|
||||||
{
|
|
||||||
"rel": "self",
|
|
||||||
"type": "application/activity+json",
|
|
||||||
"href": `https://${domain}/ap/actor`
|
|
||||||
}
|
|
||||||
]
|
|
||||||
});
|
|
||||||
res.end();
|
res.end();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue