meteor-service-worker
meteor-service-worker copied to clipboard
Added conditional wrapper for only http & https
Added this wrapper to the 'fetch' event listener
if (event.request.url.startsWith('http')){
// only runs for http:// & https:// urls, prevents error from running on chome-extention:// urls
}
Good PR but I feel like the console.log are not necessary. Could you remove it.