diff --git a/service-worker.js b/service-worker.js index 0a8349f..7b48b03 100644 --- a/service-worker.js +++ b/service-worker.js @@ -41,6 +41,6 @@ self.addEventListener('push', function(event) { self.addEventListener('notificationclick', function(event) { console.log('On notification click: ', event); - var url = event.notification.data.url; + var url = '/app/study/'; event.waitUntil(clients.openWindow(url)); });