-
-
Save kypflug/d431c41f3b39e0e4e89e05aa59ecbaa4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var webpush = require('web-push'); | |
var vapidKeys = { publicKey: 'BL6As_YCGHPf3ZeDbklyVxgvJVb4Tr5qjZFS-J7XzkT5zQNghd9iUBUsqSlVO5znwTsZZrEOx8JFRDJc1JmkymA', | |
privateKey: 'GnMVDgbtZrqs7tgKEkJaV5aZF8cVjoq7Ncz_TEVI_lo'}; | |
webpush.setVapidDetails( | |
'mailto:myaccount@hotmail.com', | |
vapidKeys.publicKey, | |
vapidKeys.privateKey | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment