added prod sourcemaps.
This commit is contained in:
parent
cb2675bf27
commit
e405dc1598
@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta content="width=device-width, initial-scale=1" name="viewport"/>
|
<meta content="width=device-width, initial-scale=1" name="viewport"/>
|
||||||
<meta content="An immersive vr diagramming experience based using webxr version 0.6 (2024-05-30)"
|
<meta content="An immersive vr diagramming experience based using webxr version 0.10 (2024-06-06)"
|
||||||
name="description">
|
name="description">
|
||||||
<meta content="width=device-width, initial-scale=1, height=device-height" name="viewport">
|
<meta content="width=device-width, initial-scale=1, height=device-height" name="viewport">
|
||||||
<link href="/styles.css" rel="stylesheet">
|
<link href="/styles.css" rel="stylesheet">
|
||||||
@ -46,13 +46,13 @@
|
|||||||
<img id="loadingGrid" src="/assets/grid6.jpg"/>
|
<img id="loadingGrid" src="/assets/grid6.jpg"/>
|
||||||
<script>
|
<script>
|
||||||
if (typeof navigator.serviceWorker !== 'undefined') {
|
if (typeof navigator.serviceWorker !== 'undefined') {
|
||||||
if (localStorage.getItem('serviceWorkerVersion') < '9') {
|
if (localStorage.getItem('serviceWorkerVersion') !== '10') {
|
||||||
caches.keys().then(cacheNames => {
|
caches.keys().then(cacheNames => {
|
||||||
cacheNames.forEach(cacheName => {
|
cacheNames.forEach(cacheName => {
|
||||||
caches.delete(cacheName);
|
caches.delete(cacheName);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
localStorage.setItem('serviceWorkerVersion', '9');
|
localStorage.setItem('serviceWorkerVersion', '10');
|
||||||
}
|
}
|
||||||
navigator.serviceWorker.register('/sw.js', {updateViaCache: 'none'});
|
navigator.serviceWorker.register('/sw.js', {updateViaCache: 'none'});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
importScripts('https://storage.googleapis.com/workbox-cdn/releases/7.1.0/workbox-sw.js');
|
importScripts('https://storage.googleapis.com/workbox-cdn/releases/7.1.0/workbox-sw.js');
|
||||||
const VERSION = '9';
|
const VERSION = '10';
|
||||||
const CACHE = "deepdiagram";
|
const CACHE = "deepdiagram";
|
||||||
const IMAGEDELIVERY_CACHE = "deepdiagram-images";
|
const IMAGEDELIVERY_CACHE = "deepdiagram-images";
|
||||||
const MAPTILE_CACHE = 'maptiler';
|
const MAPTILE_CACHE = 'maptiler';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user