Skip to content

Instantly share code, notes, and snippets.

@kypflug

kypflug/sw-8.js Secret

Created Dec 15, 2017
Embed
What would you like to do?
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
You can’t perform that action at this time.