SHA256
Добавить предпросмотр DM в push-уведомлениях
This commit is contained in:
@@ -36,7 +36,7 @@ export async function initPwaPush({ authService, onLog = null }) {
|
||||
}
|
||||
|
||||
try {
|
||||
const registration = await navigator.serviceWorker.register('./firebase-messaging-sw.js');
|
||||
const registration = await navigator.serviceWorker.register('./firebase-messaging-sw.js', { type: 'module', updateViaCache: 'none' });
|
||||
log({
|
||||
level: 'info',
|
||||
source: 'web-push',
|
||||
|
||||
Reference in New Issue
Block a user