diff --git a/packages/frontend/quasar.config.js b/packages/frontend/quasar.config.js index 92f91d3..be15ae6 100644 --- a/packages/frontend/quasar.config.js +++ b/packages/frontend/quasar.config.js @@ -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',