diff --git a/app.js b/app.js index 17c1bee..ca90ab1 100644 --- a/app.js +++ b/app.js @@ -335,7 +335,7 @@ if(!config.secretSession || config.secretSession === ''){ app.enable('trust proxy'); app.use(helmet()); -app.set('port', process.env.port || 1111); +app.set('port', process.env.PORT || 1111); app.use(logger('dev')); app.use(bodyParser.urlencoded({ extended: false })); app.use(cookieParser(config.secretCookie));