Skip to content

Commit

Permalink
Remove double-checking of TLS_PORT
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-blunden committed Oct 8, 2020
1 parent 753a79b commit d3b7287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.js
Expand Up @@ -15,7 +15,7 @@ import app from './app.js'
)
})

if (appConfig.TLS_PORT && appConfig.TLS_CERT && appConfig.TLS_PORT) {
if (appConfig.TLS_PORT && appConfig.TLS_CERT) {
httpsServer = https
.createServer(
{
Expand Down

0 comments on commit d3b7287

Please sign in to comment.