mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
Start work on inbox
This commit is contained in:
parent
fa3ed293f4
commit
ed96e11301
|
|
@ -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`
|
||||
}
|
||||
]
|
||||
})
|
||||
};
|
||||
|
|
|
|||
|
|
@ -20,5 +20,7 @@ export default async (
|
|||
return errorResponse("User not found", 404);
|
||||
}
|
||||
|
||||
|
||||
return jsonResponse({
|
||||
|
||||
})
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue