Skip to content

Commit

Permalink
chore: pwa settings modified
Browse files Browse the repository at this point in the history
  • Loading branch information
stritti committed Apr 3, 2024
1 parent 1743b67 commit b5eb943
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export default defineConfig({
devOptions: {
enabled: true,
},
includeAssets: ['favicon.ico', 'robots.txt'],
manifest: {
name: "Mülli.app",
short_name: "Mülli.app",
Expand Down Expand Up @@ -110,7 +111,7 @@ export default defineConfig({
cacheName: 'api-cache',
expiration: {
maxEntries: 100,
maxAgeSeconds: 24 * 60 * 60 // 24 Stunden
maxAgeSeconds: 2 * 60 * 60 // 2 Stunden
},
cacheableResponse: {
statuses: [0, 200]
Expand Down

0 comments on commit b5eb943

Please sign in to comment.