diff --git a/src/routes/activitypub/context.rs b/src/routes/activitypub/context.rs index e29024e1..b1884060 100644 --- a/src/routes/activitypub/context.rs +++ b/src/routes/activitypub/context.rs @@ -51,7 +51,7 @@ pub async fn page( Ok(JsonLD( ctx.ap_collection_page( - &url!(ctx, "/context/{id}"), + &url!(ctx, "/context/{id}/page"), offset, limit, items .into_iter() diff --git a/src/routes/activitypub/object/replies.rs b/src/routes/activitypub/object/replies.rs index d55a6105..383a2e80 100644 --- a/src/routes/activitypub/object/replies.rs +++ b/src/routes/activitypub/object/replies.rs @@ -51,7 +51,7 @@ pub async fn page( Ok(JsonLD( ctx.ap_collection_page( - &url!(ctx, "/objects/{id}/replies"), + &url!(ctx, "/objects/{id}/replies/page"), offset, limit, items .into_iter() diff --git a/src/routes/activitypub/user/following.rs b/src/routes/activitypub/user/following.rs index 65ed3adb..27ca37e3 100644 --- a/src/routes/activitypub/user/following.rs +++ b/src/routes/activitypub/user/following.rs @@ -48,7 +48,7 @@ pub async fn page( Ok(following) => { Ok(JsonLD( ctx.ap_collection_page( - &url!(ctx, "/users/{id}/{follow___}"), + &url!(ctx, "/users/{id}/{follow___}/page"), offset, limit, following.into_iter().map(serde_json::Value::String).collect()