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
1 changed files with 3 additions and 1 deletions

View File

@ -139,7 +139,9 @@ export class ClientServerService {
'type': 'image/png',
'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',
'type': 'image/png',
'purpose': 'any',