This commit is contained in:
Mateusz Gruszczyński
2026-08-25 18:25:55 +02:00
parent 26d8f9f83a
commit a8b80bdba9
12 changed files with 150 additions and 33 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
const CACHE = 'gree-controller-v068-dashboard-wrap';
const CACHE = 'gree-controller-v069-dashboard-fit';
const SCOPE = new URL(self.registration.scope).pathname.replace(/\/$/, '');
const path = value => `${SCOPE}${value.startsWith('/') ? value : `/${value}`}` || '/';
const ASSETS = [path('/'), path('/styles.css'), path('/app.js'), path('/theme-init.js'), path('/favicon.svg'), path('/manifest.webmanifest'), path('/lang/index.json'), path('/lang/en.json')];