mirror of
https://github.com/koel/koel
synced 2024-11-24 05:03:05 +00:00
feat: disable workbox output
This commit is contained in:
parent
e31860bb75
commit
852df591a0
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
importScripts('https://storage.googleapis.com/workbox-cdn/releases/4.0.0/workbox-sw.js')
|
importScripts('https://storage.googleapis.com/workbox-cdn/releases/4.0.0/workbox-sw.js')
|
||||||
|
|
||||||
|
workbox.setConfig({ debug: false })
|
||||||
|
|
||||||
workbox.routing.registerRoute(
|
workbox.routing.registerRoute(
|
||||||
new RegExp('.*\.js'),
|
new RegExp('.*\.js'),
|
||||||
new workbox.strategies.NetworkFirst()
|
new workbox.strategies.NetworkFirst()
|
||||||
|
|
Loading…
Reference in a new issue