mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 07:10:30 +01:00
fix: incorrect posts url in topic posts collection
This commit is contained in:
@@ -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`),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user