Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
wushuangs committed Nov 14, 2024
1 parent da0d701 commit a3bbd56
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions packages/frontend/quasar.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,23 +160,22 @@ module.exports = configure(function (ctx) {

pwa: {
workboxPluginMode: 'InjectManifest', // 'GenerateSW' or 'InjectManifest'
workboxOptions: {
runtimeCaching: [
{
urlPattern: new RegExp('/public/'),
handler: 'NetworkOnly'
},
{
urlPattern: /\/api\/.*/,
handler: 'NetworkFirst',
options: {
cacheableResponse: {
statuses: [0, 200]
}
workboxOptions: {}, // only for GenerateSW
runtimeCaching: [
{
urlPattern: new RegExp('/public/'),
handler: 'NetworkOnly'
},
{
urlPattern: /\/api\/.*/,
handler: 'NetworkFirst',
options: {
cacheableResponse: {
statuses: [0, 200]
}
}
]
}, // only for GenerateSW
}
],

manifest: {
name: 'Olares',
Expand Down

0 comments on commit a3bbd56

Please sign in to comment.