fix(service worker): use correct workbox version
Resolves https://github.com/go-vikunja/vikunja/issues/322 (cherry picked from commit 165ee9e7f31893726f8a0f0bd22be0e035277e49)
This commit is contained in:
parent
a462697b30
commit
800f4545c1
@ -6,7 +6,7 @@ import {getFullBaseUrl} from './helpers/getFullBaseUrl'
|
|||||||
declare let self: ServiceWorkerGlobalScope
|
declare let self: ServiceWorkerGlobalScope
|
||||||
|
|
||||||
const fullBaseUrl = getFullBaseUrl()
|
const fullBaseUrl = getFullBaseUrl()
|
||||||
const workboxVersion = 'v7.0.0'
|
const workboxVersion = 'v7.1.0'
|
||||||
|
|
||||||
importScripts(`${fullBaseUrl}workbox-${workboxVersion}/workbox-sw.js`)
|
importScripts(`${fullBaseUrl}workbox-${workboxVersion}/workbox-sw.js`)
|
||||||
workbox.setConfig({
|
workbox.setConfig({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user