mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-06 07:07:50 +02:00
closes #4132
This commit is contained in:
@@ -29,9 +29,13 @@ categoriesController.list = function(req, res, next) {
|
||||
}];
|
||||
|
||||
if (meta.config['brand:logo']) {
|
||||
var brandLogo = meta.config['brand:logo'];
|
||||
if (!brandLogo.startsWith('http')) {
|
||||
brandLogo = nconf.get('url') + brandLogo;
|
||||
}
|
||||
res.locals.metaTags.push({
|
||||
property: 'og:image',
|
||||
content: meta.config['brand:logo']
|
||||
content: brandLogo
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user