version 0.0.24
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const CACHE_NAME = 'teamchat-v2';
|
||||
const CACHE_NAME = 'jama-v1';
|
||||
const STATIC_ASSETS = ['/'];
|
||||
|
||||
self.addEventListener('install', (event) => {
|
||||
@@ -47,7 +47,7 @@ self.addEventListener('push', (event) => {
|
||||
icon: '/icons/icon-192.png',
|
||||
badge: '/icons/icon-192.png',
|
||||
data: { url: data.url || '/' },
|
||||
tag: 'teamchat-message', // replaces previous notification instead of stacking
|
||||
tag: 'jama-message', // replaces previous notification instead of stacking
|
||||
renotify: true, // still vibrate/sound even if replacing
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user