From b77effa58c1f470280b757bc55950272c9cc5b1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20=C3=85hall?= Date: Mon, 8 Jun 2026 21:45:54 +0200 Subject: [PATCH] Fixed service worker, bumped to v18 --- main.go | 2 +- static/service_worker.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 7c2decc..f533d24 100644 --- a/main.go +++ b/main.go @@ -23,7 +23,7 @@ import ( "text/template" ) -const VERSION = "v17" +const VERSION = "v18" const CONTEXT_USER = 1 const SYNC_PAGINATION = 200 diff --git a/static/service_worker.js b/static/service_worker.js index 0689818..8522b20 100644 --- a/static/service_worker.js +++ b/static/service_worker.js @@ -43,8 +43,8 @@ const CACHED_ASSETS = [ '/js/{{ .VERSION }}/page_history.mjs', '/js/{{ .VERSION }}/page_node.mjs', '/js/{{ .VERSION }}/page_storage.mjs', + '/js/{{ .VERSION }}/sidebar.mjs', '/js/{{ .VERSION }}/sync.mjs', - '/js/{{ .VERSION }}/tree.mjs', ] async function precache() {