added row level AES encryption.
This commit is contained in:
parent
3d3f73c259
commit
2d1a3ba5d6
@ -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') !== '10') {
|
if (localStorage.getItem('serviceWorkerVersion') !== '11') {
|
||||||
caches.keys().then(cacheNames => {
|
caches.keys().then(cacheNames => {
|
||||||
cacheNames.forEach(cacheName => {
|
cacheNames.forEach(cacheName => {
|
||||||
caches.delete(cacheName);
|
caches.delete(cacheName);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
localStorage.setItem('serviceWorkerVersion', '10');
|
localStorage.setItem('serviceWorkerVersion', '11');
|
||||||
}
|
}
|
||||||
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 = '10';
|
const VERSION = '11';
|
||||||
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