fix(pwa): configure sw and web manifest cache control headers (#1724)

This commit is contained in:
Joaquín Sánchez 2023-02-12 12:08:50 +01:00 committed by GitHub
parent c2ffdcf78b
commit b9c2bc5c70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View file

@ -122,6 +122,7 @@ export default defineNuxtConfig({
'/manifest.webmanifest': {
headers: {
'Content-Type': 'application/manifest+json',
'Cache-Control': 'public, max-age=0, must-revalidate',
},
},
},