mirror of
https://github.com/turbomaster95/coderrrrr.git
synced 2025-05-14 21:40:14 +00:00
s
This commit is contained in:
parent
9803161404
commit
2f877fe36b
@ -11,13 +11,13 @@ export default async function (req: VercelRequest, res: VercelResponse) {
|
|||||||
res.status(200).setHeader("Content-Type", "application/activity+json").json({
|
res.status(200).setHeader("Content-Type", "application/activity+json").json({
|
||||||
"@context": ["https://www.w3.org/ns/activitystreams", { "@language": "en-US" }],
|
"@context": ["https://www.w3.org/ns/activitystreams", { "@language": "en-US" }],
|
||||||
"type": "Person",
|
"type": "Person",
|
||||||
"id": "https://coderrrrr.site/coder",
|
"id": "https://coderrrrr.site/blog",
|
||||||
"outbox": "https://coderrrrr.site/api/activitypub/outbox",
|
"outbox": "https://coderrrrr.site/api/activitypub/outbox",
|
||||||
"following": "https://coderrrrr.site/api/activitypub/following",
|
"following": "https://coderrrrr.site/api/activitypub/following",
|
||||||
"followers": "https://coderrrrr.site/api/activitypub/followers",
|
"followers": "https://coderrrrr.site/api/activitypub/followers",
|
||||||
"sharedInbox": "https://coderrrrr.site/api/activitypub/sharedInbox",
|
"sharedInbox": "https://coderrrrr.site/api/activitypub/sharedInbox",
|
||||||
"inbox": "https://coderrrrr.site/api/activitypub/inbox",
|
"inbox": "https://coderrrrr.site/api/activitypub/inbox",
|
||||||
"preferredUsername": "coder",
|
"preferredUsername": "blog",
|
||||||
"name": "Deva Midhun's blog",
|
"name": "Deva Midhun's blog",
|
||||||
"discoverable": true,
|
"discoverable": true,
|
||||||
"indexable": true,
|
"indexable": true,
|
||||||
@ -50,8 +50,8 @@ export default async function (req: VercelRequest, res: VercelResponse) {
|
|||||||
"publicKey": {
|
"publicKey": {
|
||||||
"@context": "https://w3id.org/security/v1",
|
"@context": "https://w3id.org/security/v1",
|
||||||
"@type": "Key",
|
"@type": "Key",
|
||||||
"id": "https://coderrrrr.site/coder#main-key",
|
"id": "https://coderrrrr.site/blog#main-key",
|
||||||
"owner": "https://coderrrrr.site/coder",
|
"owner": "https://coderrrrr.site/blog",
|
||||||
"publicKeyPem": process.env.ACTIVITYPUB_PUBLIC_KEY || "MISSING_PUBLIC_KEY"
|
"publicKeyPem": process.env.ACTIVITYPUB_PUBLIC_KEY || "MISSING_PUBLIC_KEY"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user