diff --git a/server/api/.well-known/webfinger/index.ts b/server/api/.well-known/webfinger/index.ts index 415990d9..fde58f9a 100644 --- a/server/api/.well-known/webfinger/index.ts +++ b/server/api/.well-known/webfinger/index.ts @@ -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` + } ] }) }; diff --git a/server/api/@[username]/inbox/index.ts b/server/api/@[username]/inbox/index.ts index 4ef7fca9..070d97f0 100644 --- a/server/api/@[username]/inbox/index.ts +++ b/server/api/@[username]/inbox/index.ts @@ -20,5 +20,7 @@ export default async ( return errorResponse("User not found", 404); } - + return jsonResponse({ + + }) };