We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32af382 commit 1db4c52Copy full SHA for 1db4c52
test/testSelenium.js
@@ -15,6 +15,8 @@ if (!process.env.GCM_API_KEY) {
15
}
16
17
if (!process.env.VAPID_PRIVATE_KEY || !process.env.VAPID_PUBLIC_KEY) {
18
+ console.log('You haven\'t set the VAPID env variables, I\'ll generate them for you.'.bold.yellow);
19
+
20
var keys = webPush.generateVAPIDKeys();
21
process.env.VAPID_PRIVATE_KEY = keys.privateKey.toString('base64');
22
process.env.VAPID_PUBLIC_KEY = keys.publicKey.toString('base64');
0 commit comments