Skip to content

Commit 9ba1ca2

Browse files
committed
Fixed some PWA settings.
1 parent b7a70b7 commit 9ba1ca2

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ node_modules
1111
coverage
1212

1313
# production
14+
dev-dist
1415
dist
1516

1617
# misc

frontend/public/logo-mask-1024.png

167 KB
Loading

frontend/public/logo-mask-144.png

7.62 KB
Loading

frontend/public/logo-mask-192.png

810 Bytes
Loading

frontend/public/logo-mask-512.png

42.3 KB
Loading

frontend/public/manifest.json

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
{
22
"short_name": "Localib",
33
"name": "Localib",
4+
"description": "View your Discogs collection offline!",
45
"icons": [
56
{
6-
"src": "favicon.ico",
7-
"sizes": "64x64",
8-
"type": "image/png"
9-
},
10-
{
11-
"src": "logo-mask-192.png",
7+
"src": "logo-mask-144.png",
128
"type": "image/png",
13-
"sizes": "192x192"
9+
"sizes": "144x144",
10+
"purpose": "any"
1411
},
1512
{
1613
"src": "logo-mask-192.png",
@@ -21,17 +18,18 @@
2118
{
2219
"src": "logo-mask-512.png",
2320
"type": "image/png",
24-
"sizes": "512x512"
21+
"sizes": "512x512",
22+
"purpose": "maskable"
2523
},
2624
{
27-
"src": "logo-mask-512.png",
25+
"src": "logo-mask-1024.png",
2826
"type": "image/png",
29-
"sizes": "512x512",
27+
"sizes": "1024x1024",
3028
"purpose": "maskable"
3129
}
3230
],
3331
"start_url": ".",
3432
"display": "standalone",
3533
"theme_color": "#0d0d0d",
3634
"background_color": "#0d0d0d"
37-
}
35+
}

frontend/vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export default defineConfig({
1616
workbox: {
1717
cleanupOutdatedCaches: true,
1818
},
19+
includeAssets: ['*.png']
1920
}),
2021
],
2122
})

0 commit comments

Comments
 (0)