このコミットが含まれているのは:
Henry Jameson 2023-10-25 19:35:44 +03:00
コミット 1b7e930b2e
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -62,7 +62,7 @@ self.addEventListener('message', async (event) => {
const { title, body, icon, id } = content
if (state.notificationIds.has(id)) return
state.notificationIds.add(id)
setTimeout(() => state.notificationIds.remove(id), 10000)
setTimeout(() => state.notificationIds.delete(id), 10000)
self.registration.showNotification('SWTEST: ' + title, { body, icon })
}