diff --git a/src/controllers/activitypub/actors.js b/src/controllers/activitypub/actors.js index 7b05938c80..ca92cee5f0 100644 --- a/src/controllers/activitypub/actors.js +++ b/src/controllers/activitypub/actors.js @@ -168,7 +168,7 @@ Actors.topicPosts = async function (req, res, next) { method: posts.getPidsFromSet, page, perPage, - url: `${nconf.get('url')}/topic/${req.params.tid}`, + url: `${nconf.get('url')}/topic/${req.params.tid}/posts`, }), db.getSortedSetMembers(`tid:${req.params.tid}:posts`), ]);