diff --git a/src/vector/dendrite-sw.js b/src/vector/dendrite-sw.js index 03720bab..bb45ae20 100644 --- a/src/vector/dendrite-sw.js +++ b/src/vector/dendrite-sw.js @@ -41,8 +41,9 @@ self.addEventListener('activate', function(event) { ) }) + self.addEventListener('fetch', function(event) { - console.log("intercepted " + event.request.url) + console.log("intercepted " + event.request.method + " " + event.request.url); if (event.request.url.match(/\/_matrix\/client/)) { if (global.fetchListener) { event.respondWith(global.fetchListener.onFetch(event)) diff --git a/src/vector/dendrite.wasm b/src/vector/dendrite.wasm index 2b9f2cd4..5285b185 100755 Binary files a/src/vector/dendrite.wasm and b/src/vector/dendrite.wasm differ