Skip to content

Commit

Permalink
❌ - Comentando console.log's desnecessários
Browse files Browse the repository at this point in the history
  • Loading branch information
luisgbr1el authored Jun 28, 2022
1 parent f58281e commit e0137c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ self.addEventListener("install", function(event) {
});

var preLoad = function(){
console.log("Installing web app");
//console.log("Installing web app");
};

self.addEventListener("fetch", function(event) {
Expand All @@ -29,7 +29,7 @@ self.addEventListener("install", function(event) {
var addToCache = function(request){
return caches.open("offline").then(function (cache) {
return fetch(request).then(function (response) {
console.log(response.url + " was cached");
//console.log(response.url + " was cached");
return cache.put(request, response);
});
});
Expand All @@ -45,4 +45,4 @@ var returnFromCache = function(request){
}
});
});
};
};

0 comments on commit e0137c6

Please sign in to comment.