fix: add missing 'const' keyword for CACHE_VERSION declaration

This commit is contained in:
Cell
2025-11-14 10:49:31 +08:00
parent 1ba0303572
commit 113ad247de
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
* Service Worker
* imported from https://github.com/HEIGE-PCloud/DoIt/blob/v0.2.11/src/js/sw.js
*/
CACHE_VERSION = 1;
const CACHE_VERSION = 1;
const BASE_CACHE_FILES = [
'/css/style.min.css',
+1 -1
View File
@@ -1,4 +1,4 @@
{{- hugo.Store.Set "version" "v0.4.0-alpha.2-20251113081914-96b2f5f8" -}}
{{- hugo.Store.Set "version" "v0.4.0-alpha.2-20251114024932-1ba03035" -}}
{{- .Store.Set "this" dict -}}
{{- partial "init/detection-env.html" . -}}