chet novoe

This commit is contained in:
Vladimir Voronin
2024-10-30 19:03:07 +03:00
parent 3fd47a92a3
commit 7a3c3430c1
2 changed files with 24 additions and 15 deletions

View File

@@ -33,11 +33,7 @@ if ("serviceWorker" in navigator) {
}
Notification.requestPermission().then((permission) => {
if (permission === 'granted') {
console.log('Разрешение на уведомления получено.');
}
});
// Компонент Vue 3 или логика подписки