diff --git a/README.md b/README.md index bfcd645855db965e67de335e317cbe324406a18e..1ee3239edc4254fb5aa174c76b73a235ad78d0d4 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,8 @@ This project (excluding post content itself) is released under the Apache Licens ** NEXT_PUBLIC_FIREBASE_PROJECT_ID ** ACTIVITYPUB_URL ** ACTIVITYPUB_USER +** ACTIVITYPUB_NAME +** ACTIVITYPUB_SUMMARY * Modify /layouts/partials/top_list_* to represent the section titles you want to use. * Update package.json ** Update name field diff --git a/api/activitypub/followers.ts b/api/activitypub/followers.ts index 58cf9f83a0e9a81c04012aa59dd959db3764d829..44a950d668419a7cc353a8eaabce5500a32213a7 100644 --- a/api/activitypub/followers.ts +++ b/api/activitypub/followers.ts @@ -20,7 +20,7 @@ export default async function (req: VercelRequest, res: VercelResponse) { const output = { "@context": "https://www.w3.org/ns/activitystreams", - "id": `${process.env.ACTIVITYPUB_URL}users/${process.env.ACTIVITYPUB_USER.toLowerCase}/following?page=1`, + "id": `${process.env.ACTIVITYPUB_URL}users/${process.env.ACTIVITYPUB_USER.toLowerCase()}/following?page=1`, "type": "OrderedCollectionPage", "totalItems": actors.docs.length, "orderedItems": actors.docs.map(item=>item.get("actor"))