mirror of https://github.com/nextcloud/bookmarks
fix service worker
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
b119d71137
commit
145a103adb
|
@ -34,7 +34,9 @@ const BookmarksApp = (global.Bookmarks = new Vue({
|
|||
}))
|
||||
|
||||
if ('serviceWorker' in navigator) {
|
||||
navigator.serviceWorker.register(generateUrl('/apps/bookmarks/service-worker.js'))
|
||||
navigator.serviceWorker.register(generateUrl('/apps/bookmarks/service-worker.js', {}, {
|
||||
noRewrite: true,
|
||||
}))
|
||||
.then(() => {
|
||||
console.info('ServiceWorker registered')
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue