Skip to content

Commit 4a6379e

Browse files
committed
fix: disable forcing SSL by default
1 parent 7f438e1 commit 4a6379e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/server.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ let app = new express();
1212
// Secure with helmet
1313
app.use(helmet());
1414

15-
// ensure https is used in production
15+
/* Ensures SSL in used in production. To use, uncomment the below.
1616
app.use(function (req, res, next) {
1717
var sslUrl;
1818
@@ -23,6 +23,7 @@ app.use(function (req, res, next) {
2323
2424
return next();
2525
});
26+
*/
2627

2728
// parse cookies!
2829
app.use(cookieParser());

0 commit comments

Comments
 (0)