Skip to content

Commit

Permalink
Merge branch 'master' into release/2.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
zeevo authored Dec 5, 2019
2 parents de41269 + 52e891a commit 97b14e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"helmet": "^3.9.0",
"jsonschema": "^1.2.2",
"jsonwebtoken": "^8.1.0",
"jwk-to-pem": "^1.2.6",
"jwk-to-pem": "^2.0.2",
"method-override": "^2.3.10",
"moment": "^2.19.4",
"moment-timezone": "^0.5.14",
Expand Down
2 changes: 1 addition & 1 deletion src/server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class Server {

this.env = {
IS_PRODUCTION: !process.env.NODE_ENV || process.env.NODE_ENV === 'production',
USE_HTTPS: server.ssl && server.ssl.key && server.ssl.cert,
USE_HTTPS: (server.ssl && server.ssl.key && server.ssl.cert) ? server.ssl : undefined,
};
// return self for chaining
return this;
Expand Down

0 comments on commit 97b14e5

Please sign in to comment.