Добавить предпросмотр DM в push-уведомлениях

This commit is contained in:
AidarKC
2026-11-27 15:52:51 +03:00
parent 91a8bb9c3c
commit 7d3f5db206
17 changed files with 696 additions and 31 deletions
+1 -1
View File
@@ -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',