Fixed service worker, bumped to v18

This commit is contained in:
Magnus Åhall 2026-06-08 21:45:54 +02:00
parent dc7e70b3f2
commit b77effa58c
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ import (
"text/template" "text/template"
) )
const VERSION = "v17" const VERSION = "v18"
const CONTEXT_USER = 1 const CONTEXT_USER = 1
const SYNC_PAGINATION = 200 const SYNC_PAGINATION = 200

View file

@ -43,8 +43,8 @@ const CACHED_ASSETS = [
'/js/{{ .VERSION }}/page_history.mjs', '/js/{{ .VERSION }}/page_history.mjs',
'/js/{{ .VERSION }}/page_node.mjs', '/js/{{ .VERSION }}/page_node.mjs',
'/js/{{ .VERSION }}/page_storage.mjs', '/js/{{ .VERSION }}/page_storage.mjs',
'/js/{{ .VERSION }}/sidebar.mjs',
'/js/{{ .VERSION }}/sync.mjs', '/js/{{ .VERSION }}/sync.mjs',
'/js/{{ .VERSION }}/tree.mjs',
] ]
async function precache() { async function precache() {