mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-08-30 11:18:22 +02:00
Update bundled logos with new branding (#8702)
* feat: updating logo assets, square logos missing still * fix: squared logo for touch icon and notification fallback * fix: update link to favicon * feat: add default touch icon sizes, if one isn't uploaded Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
This commit is contained in:
@@ -121,7 +121,7 @@ middleware.routeTouchIcon = function routeTouchIcon(req, res) {
|
||||
if (meta.config['brand:touchIcon']) {
|
||||
iconPath = path.join(nconf.get('upload_path'), meta.config['brand:touchIcon'].replace(/assets\/uploads/, ''));
|
||||
} else {
|
||||
iconPath = path.join(nconf.get('base_dir'), 'public/logo.png');
|
||||
iconPath = path.join(nconf.get('base_dir'), 'public/images/touch/512.png');
|
||||
}
|
||||
|
||||
return res.sendFile(iconPath, {
|
||||
|
||||
Reference in New Issue
Block a user