v0.8.2
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const CACHE = 'gree-controller-v080-control-ownership';
|
||||
const CACHE = 'gree-controller-v082-ui-i18n-ha-freshness';
|
||||
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')];
|
||||
|
||||
Reference in New Issue
Block a user