upd: apply 300x300 PWA icon

Closes transfem-org/Sharkey#165
This commit is contained in:
Mar0xy 2023-11-28 03:48:22 +01:00
parent d135cba60b
commit 7e2cf4238f
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828

View file

@ -139,7 +139,9 @@ export class ClientServerService {
'type': 'image/png', 'type': 'image/png',
'purpose': 'maskable', 'purpose': 'maskable',
}, { }, {
'src': '/static-assets/splash.png', // 空文字列の場合右辺を使いたいため
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
'src': instance.app512IconUrl || '/static-assets/icons/512.png',
'sizes': '300x300', 'sizes': '300x300',
'type': 'image/png', 'type': 'image/png',
'purpose': 'any', 'purpose': 'any',