From 5498e58201613df0eaffe88a35f84aeeb2cbb9a5 Mon Sep 17 00:00:00 2001 From: Rohan Rangray Date: Tue, 2 Jun 2015 17:00:20 -0700 Subject: [PATCH] Changed the notification redirect url to /app/study --- service-worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }); -- 1.9.1