This commit is contained in:
Deva Midhun 2025-02-08 19:26:31 +00:00
parent ffece8bf84
commit ccb5e16eef

View File

@ -7,14 +7,29 @@ export default function (req: VercelRequest, res: VercelResponse) {
res.end(`{ res.end(`{
"subject": "acct:coder@coderrrrr.site", "subject": "acct:coder@coderrrrr.site",
"aliases": [ "aliases": [
"https://coderrrrr.site/@coder" "https://coderrrrr.site/@coder",
"https://coderrrrr.site/users/coder"
], ],
"links": [ "links": [
{
"rel": "http://webfinger.net/rel/profile-page",
"type": "text/html",
"href": "https://coderrrrr.site/@coder"
},
{ {
"rel": "self", "rel": "self",
"type": "application/activity+json", "type": "application/activity+json",
"href": "https://coderrrrr.site/coder" "href": "https://coderrrrr.site/users/coder"
},
{
"rel": "http://ostatus.org/schema/1.0/subscribe",
"template": "https://coderrrrr.site/authorize_interaction?uri={uri}"
},
{
"rel": "http://webfinger.net/rel/avatar",
"type": "image/png",
"href": "https://files.usr.cloud/v1/AUTH_f22cbcf5b3904990be9696691ff73fc6/files.usr.cloud/accounts/avatars/113/822/701/816/479/941/original/7d7f6088ba1ddd57.png"
} }
] ]
}`); }`);
} }