mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
fix: add sizes to maskable so it doesnt crash chrome application tab
This commit is contained in:
@@ -308,12 +308,14 @@ Controllers.manifest = async function (req, res) {
|
||||
if (meta.config['brand:maskableIcon']) {
|
||||
manifest.icons.push({
|
||||
src: `${nconf.get('relative_path')}/assets/uploads/system/maskableicon-orig.png`,
|
||||
sizes: '512x512',
|
||||
type: 'image/png',
|
||||
purpose: 'maskable',
|
||||
});
|
||||
} else if (meta.config['brand:touchIcon']) {
|
||||
manifest.icons.push({
|
||||
src: `${nconf.get('relative_path')}/assets/uploads/system/touchicon-orig.png`,
|
||||
sizes: '512x512',
|
||||
type: 'image/png',
|
||||
purpose: 'maskable',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user