a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add activite event to activate service worker on very first load

+3
+3
public/worker.js
··· 16 16 }), 17 17 ); 18 18 }); 19 + self.addEventListener("activate", function (event) { 20 + event.waitUntil(self.clients.claim()); 21 + }); 19 22 20 23 self.addEventListener("install", () => { 21 24 // The promise that skipWaiting() returns can be safely ignored.