Closed MarcusHSmith closed 11 months ago
Please explain what behaviour you are seeing.
How do I define the endpoint when a user clicks the notification? I'm struggling to find documentation about how the payload or options should be structured in webpush.sendNotification
webpush.sendNotification
Thanks
I suggest looking at the example on MDN or the Service Worker Cookbook: https://github.com/web-push-libs/web-push#help.
Problem
How do I define the endpoint when a user clicks the notification? I'm struggling to find documentation about how the payload or options should be structured in
webpush.sendNotification
Thanks