This commit is contained in:
Deva Midhun 2025-02-09 11:52:46 +00:00
parent 2f877fe36b
commit 899dcb9efe

View File

@ -5,21 +5,21 @@ export default function (req: VercelRequest, res: VercelResponse) {
res.statusCode = 200; res.statusCode = 200;
res.setHeader("Content-Type", `application/jrd+json`); res.setHeader("Content-Type", `application/jrd+json`);
res.end(`{ res.end(`{
"subject": "acct:coder@coderrrrr.site", "subject": "acct:blog@coderrrrr.site",
"aliases": [ "aliases": [
"https://coderrrrr.site/coder", "https://coderrrrr.site/blog",
"https://coderrrrr.site/@coder" "https://coderrrrr.site/@blog"
], ],
"links": [ "links": [
{ {
"rel": "http://webfinger.net/rel/profile-page", "rel": "http://webfinger.net/rel/profile-page",
"type": "text/html", "type": "text/html",
"href": "https://coderrrrr.site/coder" "href": "https://coderrrrr.site/blog"
}, },
{ {
"rel": "self", "rel": "self",
"type": "application/activity+json", "type": "application/activity+json",
"href": "https://coderrrrr.site/coder" "href": "https://coderrrrr.site/blog"
}, },
{ {
"rel": "http://ostatus.org/schema/1.0/subscribe", "rel": "http://ostatus.org/schema/1.0/subscribe",