diff --git a/src/activitypub/routes/channel/#channel_id/followers.ts b/src/activitypub/routes/channel/#channel_id/followers.ts index 9cd141d6a..ac4741603 100644 --- a/src/activitypub/routes/channel/#channel_id/followers.ts +++ b/src/activitypub/routes/channel/#channel_id/followers.ts @@ -14,7 +14,7 @@ router.get("/", route({}), async (req, res) => { const ret = await makeOrderedCollection( req, - `https://${webDomain}/fed/channels/${channel_id}/followers`, + `https://${webDomain}/fed/channel/${channel_id}/followers`, () => Member.count({ where: { guild: { channels: { id: channel_id } } }, diff --git a/src/activitypub/routes/channel/#channel_id/outbox.ts b/src/activitypub/routes/channel/#channel_id/outbox.ts index 287c66606..e2e0e5854 100644 --- a/src/activitypub/routes/channel/#channel_id/outbox.ts +++ b/src/activitypub/routes/channel/#channel_id/outbox.ts @@ -17,7 +17,7 @@ router.get("/", route({}), async (req, res) => { const ret = await makeOrderedCollection( req, - `https://${webDomain}/fed/channels/${channel_id}/outbox`, + `https://${webDomain}/fed/channel/${channel_id}/outbox`, () => Message.count({ where: { channel_id } }), async (before, after) => { const query: FindManyOptions & {