Skip to content

Commit 54daf85

Browse files
authored
rename deprecated meta tag, fix PWA assets paths (#4951)
1 parent d7b352f commit 54daf85

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

website/docusaurus.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ const config: Config = {
282282
},
283283
{
284284
tagName: 'meta',
285-
name: 'apple-mobile-web-app-capable',
285+
name: 'mobile-web-app-capable',
286286
content: 'yes',
287287
},
288288
{
@@ -599,7 +599,7 @@ const config: Config = {
599599
content: 'https://reactnative.dev/img/logo-share.png',
600600
},
601601
{name: 'twitter:site', content: '@reactnative'},
602-
{name: 'apple-mobile-web-app-capable', content: 'yes'},
602+
{name: 'mobile-web-app-capable', content: 'yes'},
603603
],
604604
} satisfies Preset.ThemeConfig,
605605
};

website/static/manifest.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,25 +43,25 @@
4343
],
4444
"icons": [
4545
{
46-
"src": "static/img/pwa/manifest-icon-192.png",
46+
"src": "img/pwa/manifest-icon-192.png",
4747
"sizes": "192x192",
4848
"type": "image/png",
4949
"purpose": "any"
5050
},
5151
{
52-
"src": "static/img/pwa/manifest-icon-192.maskable.png",
52+
"src": "img/pwa/manifest-icon-192.maskable.png",
5353
"sizes": "192x192",
5454
"type": "image/png",
5555
"purpose": "maskable"
5656
},
5757
{
58-
"src": "static/img/pwa/manifest-icon-512.png",
58+
"src": "img/pwa/manifest-icon-512.png",
5959
"sizes": "512x512",
6060
"type": "image/png",
6161
"purpose": "any"
6262
},
6363
{
64-
"src": "static/img/pwa/manifest-icon-512.maskable.png",
64+
"src": "img/pwa/manifest-icon-512.maskable.png",
6565
"sizes": "512x512",
6666
"type": "image/png",
6767
"purpose": "maskable"

0 commit comments

Comments
 (0)