Skip to content

Commit

Permalink
fix(all): Enable https in place.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Jan 29, 2022
1 parent 1c26466 commit 41f3f8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ export class GBServer {
};
if (process.env.CERTIFICATE_PFX) {
var options = {
pfx: fs.readFileSync(process.env.CERTIFICATE_PFX),
passphrase: process.env.CERTIFICATE_PASSPHRASE
passphrase: process.env.CERTIFICATE_PASSPHRASE ,
pfx: fs.readFileSync(process.env.CERTIFICATE_PFX)
};
https.createServer(options, server).listen(port, mainCallback);
}
Expand Down

0 comments on commit 41f3f8a

Please sign in to comment.