Start work on inbox

This commit is contained in:
Jesse Wierzbinski 2023-09-12 10:59:01 -10:00
parent fa3ed293f4
commit ed96e11301
No known key found for this signature in database
GPG key ID: F9A1E418934E40B0
2 changed files with 14 additions and 2 deletions

View file

@ -32,8 +32,18 @@ export default async (
{
rel: "self",
type: "application/activity+json",
href: `${getHost()}/@${user.username}/actor`
href: `https://${getHost()}/@${user.username}/actor`
},
{
rel: "https://webfinger.net/rel/profile-page",
type: "text/html",
href: `https://${getHost()}/@${user.username}`
},
{
rel: "self",
type: "application/activity+json; profile=\"https://www.w3.org/ns/activitystreams\"",
href: `https://${getHost()}/@${user.username}/actor`
}
]
})
};

View file

@ -20,5 +20,7 @@ export default async (
return errorResponse("User not found", 404);
}
return jsonResponse({
})
};