From fe33f7f8537934adf16fd2006eed88f0a93963f5 Mon Sep 17 00:00:00 2001 From: "ext.sopra.yvallet@grandlyon.com" <ext.sopra.yvallet@grandlyon.com> Date: Thu, 6 May 2021 11:56:52 +0200 Subject: [PATCH] publish: Merge branch 'fix/Profile_type_building_date' into 'dev' generated from commit f868b657fce4de773301ca350c8bf86d7989d54a --- serviceWorker.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/serviceWorker.js b/serviceWorker.js index e4a5672ee..1905ee225 100644 --- a/serviceWorker.js +++ b/serviceWorker.js @@ -40,9 +40,10 @@ self.addEventListener('activate', event => { // If no response is found, it populates the runtime cache with the response // from the network before returning it to the page. self.addEventListener('fetch', event => { - console.log(event.request.url) + console.log('self.location.origin: ' + self.location.origin) // Skip cross-origin requests, like those for Google Analytics. if (event.request.url.startsWith(self.location.origin)) { + console.log(event.request.url) event.respondWith( caches.match(event.request).then(cachedResponse => { if (cachedResponse) { -- GitLab