Better logging

matthew/p2p
Kegan Dougal 2020-02-25 18:05:45 +00:00
parent 836236ea9b
commit 462fa91938
2 changed files with 2 additions and 1 deletions

View File

@ -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))

Binary file not shown.