mirror of
https://github.com/turbomaster95/coderrrrr.git
synced 2025-05-12 04:50:13 +00:00
sss
This commit is contained in:
parent
ffece8bf84
commit
ccb5e16eef
@ -4,17 +4,32 @@ export default function (req: VercelRequest, res: VercelResponse) {
|
||||
const { resource } = req.query;
|
||||
res.statusCode = 200;
|
||||
res.setHeader("Content-Type", `application/jrd+json`);
|
||||
res.end(`{
|
||||
"subject": "acct:coder@coderrrrr.site",
|
||||
"aliases": [
|
||||
"https://coderrrrr.site/@coder"
|
||||
],
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"type": "application/activity+json",
|
||||
"href": "https://coderrrrr.site/coder"
|
||||
}
|
||||
]
|
||||
}`);
|
||||
res.end(`{
|
||||
"subject": "acct:coder@coderrrrr.site",
|
||||
"aliases": [
|
||||
"https://coderrrrr.site/@coder",
|
||||
"https://coderrrrr.site/users/coder"
|
||||
],
|
||||
"links": [
|
||||
{
|
||||
"rel": "http://webfinger.net/rel/profile-page",
|
||||
"type": "text/html",
|
||||
"href": "https://coderrrrr.site/@coder"
|
||||
},
|
||||
{
|
||||
"rel": "self",
|
||||
"type": "application/activity+json",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}`);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user