Case sensitive PORT var
parent
f13ba3494a
commit
8996e9bedd
2
app.js
2
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));
|
||||
|
|
Loading…
Reference in New Issue