mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
chore: pwa adjustments
This commit is contained in:
@@ -7,6 +7,10 @@ export default defineConfig({
|
|||||||
port: 5001,
|
port: 5001,
|
||||||
open: true
|
open: true
|
||||||
},
|
},
|
||||||
|
preview: {
|
||||||
|
port: 4001,
|
||||||
|
open: true
|
||||||
|
},
|
||||||
publicDir: 'public',
|
publicDir: 'public',
|
||||||
plugins: [
|
plugins: [
|
||||||
vue(),
|
vue(),
|
||||||
@@ -36,6 +40,10 @@ export default defineConfig({
|
|||||||
cacheName: 'spythere-static-cache',
|
cacheName: 'spythere-static-cache',
|
||||||
cacheableResponse: {
|
cacheableResponse: {
|
||||||
statuses: [0, 200]
|
statuses: [0, 200]
|
||||||
|
},
|
||||||
|
expiration: {
|
||||||
|
maxEntries: 100,
|
||||||
|
maxAgeSeconds: 60 * 60 * 8
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user