mirror of
https://github.com/jcreek/EstimationPoker.git
synced 2026-07-12 18:43:47 +00:00
feat(*): Add service worker
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
self.addEventListener('install', (event) => {
|
||||
console.log('[Service Worker] Installing Service Worker ...', event);
|
||||
});
|
||||
|
||||
self.addEventListener('activate', (event) => {
|
||||
console.log('[Service Worker] Activating Service Worker ...', event);
|
||||
return self.clients.claim();
|
||||
});
|
||||
+13
-1
@@ -1 +1,13 @@
|
||||
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#8D6A9F","background_color":"#ffffff","display":"standalone"}
|
||||
{
|
||||
"name": "Estimation Poker",
|
||||
"short_name": "Estimation Poker",
|
||||
"description": "A cool estimation poker app",
|
||||
"icons": [
|
||||
{ "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" },
|
||||
{ "src": "/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" }
|
||||
],
|
||||
"start_url": "/",
|
||||
"theme_color": "#8D6A9F",
|
||||
"background_color": "#ffffff",
|
||||
"display": "standalone"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user