Skip to content

Commit

Permalink
support signing key from env
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewBarba committed Dec 14, 2016
1 parent b711b45 commit 4837086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ describe('apns', () => {
defaultTopic: `com.tablelist.Tablelist`,
team: `TFLP87PW54`,
keyId: `74QQRV9RW2`,
signingKey: fs.readFileSync(`${__dirname}/certs/token.p8`)
signingKey: process.env.SK || fs.readFileSync(`${__dirname}/certs/token.p8`)
});
});

Expand Down

0 comments on commit 4837086

Please sign in to comment.