aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2018-02-09 20:19:40 +0530
committerGitHub <noreply@github.com>2018-02-09 20:19:40 +0530
commit1c47423653ab3c7526d6bb3cb3b415b5a5694dce (patch)
treeacd9ffa8f69a32abbae98ee35b9c3db4d81fe075
parent5227524de7cb45c193c7f380615db223ad7c4ff8 (diff)
Update sw.js
-rw-r--r--sw.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/sw.js b/sw.js
index e9f4394..443aad8 100644
--- a/sw.js
+++ b/sw.js
@@ -29,3 +29,9 @@ return cache.addAll([
);
});
+
+self.addEventListener('fetch', function(event) {
+
+console.log(event.request.url);
+
+});