A music player that connects to your cloud/distributed storage.
5
fork

Configure Feed

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

Print original service worker error in the console

+8 -5
+8 -5
src/Javascript/index.js
··· 35 35 } else if ("serviceWorker" in navigator) { 36 36 navigator.serviceWorker.register("service-worker.js").then( 37 37 initialise, 38 - () => failure( 39 - location.protocol === "https:" 40 - ? "Failed to start the service worker." 41 - : "Failed to start the service worker, try using HTTPS." 42 - ) 38 + err => { 39 + console.error(err) 40 + return failure( 41 + location.protocol === "https:" 42 + ? "Failed to start the service worker." 43 + : "Failed to start the service worker, try using HTTPS." 44 + ) 45 + } 43 46 ) 44 47 45 48 }