Skip to content

Commit 7b4bf07

Browse files
committed
proto header
1 parent aa571f5 commit 7b4bf07

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

server.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ app.use('/', express.static(__dirname));
88
// use HTTPS(true) in case you are behind a load balancer (e.g. Heroku)
99
if (process.env.NODE_ENV === 'production') {
1010
console.log('redirecting to ssl');
11-
app.use(enforce.HTTPS());
1211
app.use(enforce.HTTPS({ trustProtoHeader: true }))
1312
}
1413

0 commit comments

Comments
 (0)