diff options
| author | Jieiku | 2023-08-25 01:44:50 -0700 |
|---|---|---|
| committer | Jieiku | 2023-08-25 01:44:50 -0700 |
| commit | 009d3f90b1881530bd28003abe83cfc3735882be (patch) | |
| tree | 5112554449edf2aaff956b9c364133ec41ff39c5 /static/sw.js | |
| parent | c04ff0a3ac2aff149c3454f7563de3f7941e373d (diff) | |
| download | abridge-009d3f90b1881530bd28003abe83cfc3735882be.tar.gz abridge-009d3f90b1881530bd28003abe83cfc3735882be.tar.bz2 abridge-009d3f90b1881530bd28003abe83cfc3735882be.zip | |
Refactor Documentation, PWA Fix, image shortcodes fix, simplify js script loading
Diffstat (limited to 'static/sw.js')
| -rw-r--r-- | static/sw.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/sw.js b/static/sw.js index 7d07a13..130188b 100644 --- a/static/sw.js +++ b/static/sw.js @@ -7,7 +7,7 @@ class Pwa { //this.BASE_CACHE_FILES=['/js/theme.min.js','/js/theme_light.min.js','/abridge.css','/js/abridge.min.js','/','/404.html','/offline/','/manifest.json'];
this.BASE_CACHE_FILES = ['/js/theme.min.js','/js/theme_light.min.js','/abridge.css','/js/abridge.min.js','/','/404.html','/offline/','/manifest.json'];
this.host = `${self.location.protocol}//${self.location.host}`;
- console.info(`Host: ${this.host}`);
+ //console.info(`Host: ${this.host}`);
this.OFFLINE_PAGE = '/offline/';
this.NOT_FOUND_PAGE = '/404.html';
this.CACHE_NAME = `content-v${this.CACHE_VERSION}`;
@@ -116,7 +116,7 @@ class Pwa { this.installServiceWorker(),
this.scope.skipWaiting(),
]));
- console.info('SW Installed');
+ //console.info('SW Installed');
});
this.scope.addEventListener('activate', event => {
|
