add redirect for https

This commit is contained in:
Berkeley Martinez
2015-07-01 14:35:15 -07:00
parent c434342f15
commit 580e2e3ebd
4 changed files with 72 additions and 0 deletions

View File

@ -303,6 +303,7 @@ module.exports = app;
app.start = function () {
app.listen(app.get('port'), function() {
app.emit('started');
console.log(
'FreeCodeCamp server listening on port %d in %s mode',
app.get('port'),