Narrow further
Test / test (push) Failing after 53s
Details
Test / test (push) Failing after 53s
Details
This commit is contained in:
parent
478cd10022
commit
cc7faccecc
|
|
@ -119,7 +119,18 @@ export default function start(self: ServiceWorkerGlobalScope) {
|
||||||
message: `Existing subscription ID ${existingSubscriptionId}`,
|
message: `Existing subscription ID ${existingSubscriptionId}`,
|
||||||
})
|
})
|
||||||
|
|
||||||
const applicationServerKey = urlB64ToUint8Array(pushPublicKey)
|
await sendMessage({
|
||||||
|
message: `pushPublicKey ${pushPublicKey}`,
|
||||||
|
})
|
||||||
|
|
||||||
|
let applicationServerKey
|
||||||
|
try {
|
||||||
|
applicationServerKey = urlB64ToUint8Array(pushPublicKey)
|
||||||
|
} catch (error) {
|
||||||
|
await sendMessage({
|
||||||
|
message: `B64 error ${(error as Error).toString()}`,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
await sendMessage({
|
await sendMessage({
|
||||||
message: `Converted public key`,
|
message: `Converted public key`,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue