Skip to content

Commit

Permalink
fix: The manifest.json file is not served properly (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
bourquep authored Jan 25, 2025
1 parent 1cd4c41 commit 991bc08
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/app/manifest.json → public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,48 +13,48 @@
"orientation": "any",
"icons": [
{
"src": "/icons/PwaIcon.svg",
"src": "icons/PwaIcon.svg",
"sizes": "any",
"type": "image/svg+xml",
"purpose": "any"
},
{
"src": "/icons/PwaIcon-72.png",
"src": "icons/PwaIcon-72.png",
"sizes": "72x72",
"type": "image/png"
},
{
"src": "/icons/PwaIcon-96.png",
"src": "icons/PwaIcon-96.png",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "/icons/PwaIcon-128.png",
"src": "icons/PwaIcon-128.png",
"sizes": "128x128",
"type": "image/png"
},
{
"src": "/icons/PwaIcon-144.png",
"src": "icons/PwaIcon-144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "/icons/PwaIcon-152.png",
"src": "icons/PwaIcon-152.png",
"sizes": "152x152",
"type": "image/png"
},
{
"src": "/icons/PwaIcon-192.png",
"src": "icons/PwaIcon-192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/icons/PwaIcon-384.png",
"src": "icons/PwaIcon-384.png",
"sizes": "384x384",
"type": "image/png"
},
{
"src": "/icons/PwaIcon-512.png",
"src": "icons/PwaIcon-512.png",
"sizes": "512x512",
"type": "image/png"
}
Expand Down
1 change: 1 addition & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export const metadata: Metadata = {
title: 'Me.teo weather dashboard',
description: 'Weather dashboard generated by the "me.teo" WeeWX skin.',
applicationName: 'Me.teo',
manifest: 'manifest.json', // https://github.com/vercel/next.js/issues/56687
appleWebApp: {
capable: true,
title: 'Me.teo'
Expand Down

0 comments on commit 991bc08

Please sign in to comment.