Commit 5498e58201613df0eaffe88a35f84aeeb2cbb9a5

Authored by Rohan Rangray
1 parent cd28f392cb

Changed the notification redirect url to /app/study

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

service-worker.js View file @ 5498e58
... ... @@ -41,7 +41,7 @@
41 41 self.addEventListener('notificationclick', function(event) {
42 42 console.log('On notification click: ', event);
43 43  
44   - var url = event.notification.data.url;
  44 + var url = '/app/study/';
45 45 event.waitUntil(clients.openWindow(url));
46 46 });