allow app.json version overrides to percolate through all loads
This commit is contained in:
parent
3e97bae8fa
commit
61bd454f85
5 changed files with 14 additions and 11 deletions
|
|
@ -1,13 +1,13 @@
|
|||
const service_worker = navigator.serviceWorker;
|
||||
|
||||
async function start_service_worker() {
|
||||
const version = 65;
|
||||
const version = self.gapp.version;
|
||||
function debug() {
|
||||
console.log(`[${version}]`, ...arguments);
|
||||
}
|
||||
|
||||
// install service worker
|
||||
debug('service worker registration', { gapp: self.gapp.version });
|
||||
debug('service worker registration');
|
||||
|
||||
try {
|
||||
// const reg = await navigator.serviceWorker.register("/src/moto/service.js?013", { scope: "/" });
|
||||
|
|
|
|||
Loading…
Reference in a new issue