chore: update serviceWorker

This commit is contained in:
pipipi-pikachu 2022-06-02 00:20:27 +08:00
parent de146ba6bc
commit 3fd80f2bc8

View File

@ -74,7 +74,7 @@ module.exports = {
workboxOptions: { workboxOptions: {
runtimeCaching: [{ runtimeCaching: [{
urlPattern: new RegExp('.*'), urlPattern: new RegExp('.*'),
handler: 'networkFirst', handler: 'networkOnly',
}], }],
skipWaiting: true, skipWaiting: true,
} }