mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 06:25:50 +01:00
fix rel tag urls
This commit is contained in:
@@ -256,6 +256,7 @@ categoriesController.get = function(req, res, callback) {
|
||||
data.pagination = pagination.create(data.currentPage, data.pageCount);
|
||||
data.title = data.name;
|
||||
data.pagination.rel.forEach(function(rel) {
|
||||
rel.href = nconf.get('url') + '/category/' + data.slug + rel.href;
|
||||
res.locals.linkTags.push(rel);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user