From 913aab720f8457845a02a5d3eaa607c2674b8c32 Mon Sep 17 00:00:00 2001 From: Bharat Sinha Date: Wed, 18 Apr 2018 11:11:53 +0530 Subject: [PATCH] add push notification --- app/index.html | 24 ++++++++++++++++-------- app/manifest.json | 1 + app/post-page.html | 12 ++++++------ app/static/js/main.js | 29 +++++++++++++++++++++++++++-- app/sw-basic.js | 6 +++--- app/sw-wb.js | 27 ++++++++++++++++++++------- index.js | 19 +------------------ package.json | 3 ++- workbox-config.js | 8 ++++++++ 9 files changed, 84 insertions(+), 45 deletions(-) create mode 100644 workbox-config.js diff --git a/app/index.html b/app/index.html index 9109c7e..ed1116a 100644 --- a/app/index.html +++ b/app/index.html @@ -5,11 +5,12 @@ - +