Remove logs of service worker

This commit is contained in:
Sebastien 2018-09-19 09:20:25 +03:00
parent fa5887de67
commit 45f2fba980

View File

@ -42,8 +42,6 @@ self.addEventListener('fetch', function (event) {
); );
function update(request) { function update(request) {
console.log(request);
console.log(caches.match(request));
return caches.match(request).then( return caches.match(request).then(
function (response) { function (response) {
if (response) { if (response) {
@ -61,7 +59,6 @@ self.addEventListener('fetch', function (event) {
function refresh(response) { function refresh(response) {
if(response){ if(response){
console.log("refresh");
return self.clients.matchAll().then(function (clients) { return self.clients.matchAll().then(function (clients) {
clients.forEach(function (client) { clients.forEach(function (client) {
var message = { var message = {