feat: service worker (#1045)

* init

* use workbox-window

* Try to accomodate SW hosted at non root url

* v5 updated namespaces

* Test w/ no prompt

* add icons to manifest

* remove scope for now

* add icon tile information to entrypoint

* See if we can skirt by without a duplicate install

* shift client claims to skip waiting message

* Remove prepended slash

* comment out cache handler for now

* Simplify service-worker to skip waiting and install when a new worker is detected

* Use generated icons

* Update rollbar config
This commit is contained in:
Danny Brown authored and GitHub committed 2019-10-29 14:51:40 -04:00
1 parent 8c4e96bb3d
commit cf5136899e
58 files changed
+1395 -199

No files matched your search

@@ -0,0 +1,14 @@
{
"version": "2.2.1",
"name": "OHIF Viewer",
"description": "OHIF Viewer",
"icons": {
"60": "/assets/firefox_app_60x60.png",
"128": "/assets/firefox_app_128x128.png",
"512": "/assets/firefox_app_512x512.png"
},
"developer": {
"name": "OHIF Contributors",
"url": "https://github.com/ohif/viewers"
}
}