chore: added station filters (scenery types); pwa adjustments

This commit is contained in:
2024-05-16 19:59:43 +02:00
parent e0036bf969
commit e117f62fcb
12 changed files with 104 additions and 68 deletions
+2 -12
View File
@@ -30,20 +30,10 @@ export default defineConfig({
}
},
{
urlPattern: new RegExp('^https://rj.td2.info.pl/dist/img/thumbnails/*', 'i'),
urlPattern: new RegExp('^https://static.spythere.eu/*', 'i'),
handler: 'CacheFirst',
options: {
cacheName: 'swdr-images-cache',
cacheableResponse: {
statuses: [0, 200, 404]
}
}
},
{
urlPattern: new RegExp('^https://static.spythere.eu/images/*', 'i'),
handler: 'CacheFirst',
options: {
cacheName: 'spythere-images-cache',
cacheName: 'spythere-cache',
cacheableResponse: {
statuses: [0, 200]
}