mirror of
https://codeberg.org/vlw/victorwesterlund.com.git
synced 2025-09-13 19:13:42 +02:00
Corrected SW root path
Corrected path for production. Removed "offline.txt" from cache.
This commit is contained in:
parent
a9d7083e23
commit
a81fc8f212
1 changed files with 2 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
const version = "12062129";
|
||||
const root = "/victorwesterlund.com/public/";
|
||||
const version = "12140809";
|
||||
const root = "/";
|
||||
|
||||
let activeCaches = [
|
||||
`content-${version}`
|
||||
|
@ -9,7 +9,6 @@ self.addEventListener("install", event => {
|
|||
event.waitUntil(
|
||||
caches.open(`content-${version}`).then(cache => cache.addAll([
|
||||
root,
|
||||
root + "offline.txt",
|
||||
root + "assets/css/style.css",
|
||||
root + "assets/img/favicon.png",
|
||||
root + "assets/js/script.js",
|
||||
|
|
Loading…
Add table
Reference in a new issue