You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes I want to set a proxy or TTL when sending a notification, but it's inconvient to call webpush.sendNotification with option parameter every time. What about adding a function like webpush.setConfig ?
btw, export the WebPushLib itself to allow users to initialize multiple instances might be useful for some users.
The text was updated successfully, but these errors were encountered:
Sometimes I want to set a proxy or TTL when sending a notification, but it's inconvient to call
webpush.sendNotification
with option parameter every time. What about adding a function likewebpush.setConfig
?btw, export the
WebPushLib
itself to allow users to initialize multiple instances might be useful for some users.The text was updated successfully, but these errors were encountered: