Log on service worker end
Test / test (push) Failing after 54s
Details
Test / test (push) Failing after 54s
Details
This commit is contained in:
parent
4f0e68be41
commit
f3e3077374
|
|
@ -169,6 +169,14 @@ export default function start(self: ServiceWorkerGlobalScope) {
|
|||
message: `URL ${process.env.BASE_URL}/api/subscription/`,
|
||||
})
|
||||
|
||||
await sendMessage({
|
||||
message: `Submitting subscription ${subscription}`,
|
||||
})
|
||||
|
||||
await sendMessage({
|
||||
message: `JSON formatted: ${JSON.stringify(subscription)}`,
|
||||
})
|
||||
|
||||
const response = await fetch(
|
||||
`${process.env.BASE_URL}/api/subscription/`,
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue