forked from extern/jq_offline
Merge branch 'code/test' into 'master'
bugfix: service worker path See merge request jiehong/jq_offline!10
This commit is contained in:
commit
6ebd7657ac
@ -6,7 +6,7 @@
|
||||
<title>Jq Play Offline</title>
|
||||
<script>
|
||||
if('serviceWorker' in navigator) {
|
||||
navigator.serviceWorker.register('/service_worker.js', { scope: '/' })
|
||||
navigator.serviceWorker.register('/jq_offline/service_worker.js', { scope: '/jq_offline' })
|
||||
.then(function(registration) {
|
||||
console.log('Service Worker Registered');
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user