PWA Fundvelo der Caritas.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

service-worker.js 523B

12345678910111213141516
  1. // In development, always fetch from the network and do not enable offline support.
  2. // This is because caching would make development more difficult (changes would not
  3. // be reflected on the first load after each change).
  4. // install event
  5. self.addEventListener('install', evt => {
  6. console.log("Service-Worker has been installed.");
  7. });
  8. // activate event
  9. self.addEventListener('activate', evt => {
  10. console.log("Service-Worker has been activated.");
  11. });
  12. self.addEventListener('fetch', () => { });