Skip to content

Commit

Permalink
enablePush seems to be true by default
Browse files Browse the repository at this point in the history
  • Loading branch information
asbjornu committed Mar 24, 2019
1 parent 7199054 commit b9bcb1f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ const http2 = require('http2');
const options = {
key: fs.readFileSync('./certs/server-key.pem'),
cert: fs.readFileSync('./certs/server-crt.pem'),
ca: fs.readFileSync('./certs/ca-crt.pem'),
enablePush: true
ca: fs.readFileSync('./certs/ca-crt.pem')
};

// https is necessary otherwise browsers will not
Expand Down

0 comments on commit b9bcb1f

Please sign in to comment.