Even more logs
Test / test (push) Failing after 56s
Details
Test / test (push) Failing after 56s
Details
This commit is contained in:
parent
5b5c8fa847
commit
478cd10022
|
|
@ -120,11 +120,19 @@ export default function start(self: ServiceWorkerGlobalScope) {
|
|||
})
|
||||
|
||||
const applicationServerKey = urlB64ToUint8Array(pushPublicKey)
|
||||
|
||||
await sendMessage({
|
||||
message: `Converted public key`,
|
||||
})
|
||||
const newSubscription = await registration.pushManager.subscribe({
|
||||
userVisibleOnly: true,
|
||||
applicationServerKey: applicationServerKey,
|
||||
})
|
||||
|
||||
await sendMessage({
|
||||
message: `subscribed via pushManager`,
|
||||
})
|
||||
|
||||
const stupid =
|
||||
existingSubscriptionId === undefined
|
||||
? postSubscription(newSubscription, db)
|
||||
|
|
|
|||
Loading…
Reference in New Issue