Closed peterpeterparker closed 5 years ago
It seems that if the deck is deployed in domain.com/subpath then the service worker won't be registered, which is probably correct according the code:
<script> if ('serviceWorker' in navigator) { window.addEventListener('load', async () => { try { await navigator.serviceWorker.register('/service-worker.js'); } catch (e) { console.warn('No service worker registered'); } }); } </script>
But is there a way to make the service worker also registered if subcontext? or should I just add a topic about this in the documentation?
It seems that if the deck is deployed in domain.com/subpath then the service worker won't be registered, which is probably correct according the code:
But is there a way to make the service worker also registered if subcontext? or should I just add a topic about this in the documentation?