This commit is contained in:
Ashley 2023-12-30 19:34:32 +00:00
parent d022c58fc7
commit b26b1f3f5f

View file

@ -604,9 +604,21 @@ font-weight: 1000;
</div> </div>
<script src="/css/custom-css.js"> </script> <script src="/css/custom-css.js"> </script>
<script> var cacheVersion = 1; <script> if ('serviceWorker' in navigator) {
navigator.serviceWorker.getRegistrations().then(function(registrations) {
for (let registration of registrations) {
registration.unregister();
}
});
if ('caches' in window) {
caches.keys().then(function(cacheNames) {
cacheNames.forEach(function(cacheName) {
caches.delete(cacheName);
});
});
}
caches.delete('offline-cache' + cacheVersion) }
</script> </script>
</body> </body>