misc: add version number to service worker as its needed for updates

This commit is contained in:
Xyphyn committed 2023-07-29 15:31:06 -07:00
1 parent 8488bb1e17
commit 2f64f37d3a
1 file changed
+1 -1
+1 -1
View File
@@ -3,8 +3,8 @@
// @ts-ignore // @ts-ignore
import { build, files } from '$service-worker' import { build, files } from '$service-worker'
const version = '0.4.6'
const timestamp = new Date().toLocaleString('en') const timestamp = new Date().toLocaleString('en')
const worker = self as unknown as ServiceWorkerGlobalScope const worker = self as unknown as ServiceWorkerGlobalScope
const FILES = `cache${timestamp}` const FILES = `cache${timestamp}`