The app is now officially a PWA

This commit is contained in:
maxluli
2022-10-11 11:10:31 +02:00
parent cb8162214f
commit d23eb50fb3
6 changed files with 46 additions and 14 deletions

7
sw.js Normal file
View File

@@ -0,0 +1,7 @@
// This code executes in its own worker or thread
self.addEventListener("install", event => {
console.log("Service worker installed");
});
self.addEventListener("activate", event => {
console.log("Service worker activated");
});