diff --git a/src/routes/activitypub/context.rs b/src/routes/activitypub/context.rs index e29024e..b188406 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 d55a610..383a2e8 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 65ed3ad..27ca37e 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()