Skip to content

Commit

Permalink
Changed server comment about temporary push keys
Browse files Browse the repository at this point in the history
  • Loading branch information
TalAter committed May 7, 2017
1 parent 20ff7c6 commit 2fa6ce8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/subscriptions.js
Expand Up @@ -2,10 +2,10 @@ var db = require("./db.js");
var webpush = require("web-push");

// IMPORTANT
// Once you have generated the keys, there is no need for this try catch statement,
// or the temporary-push-keys.js file.
// Once you have generated the `push-keys.js` file described in chapter 10, there is
// no need for this try catch statement, or the `temporary-push-keys.js` file.
// It is only here so that the server can run while you are working on earlier
// chapters, and have not generated your own push keys yet.
// chapters, and have not generated your own `push-keys.js` file yet.
var pushKeys;
try {
pushKeys = require("./push-keys.js");
Expand Down

0 comments on commit 2fa6ce8

Please sign in to comment.