File tree 4 files changed +6
-5
lines changed
4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ const http = require('http');
32
32
* Get port from environment and store in Express.
33
33
*/
34
34
35
- const port = normalizePort ( process . env . PORT || '8081 ' ) ;
35
+ const port = normalizePort ( process . env . PORT || '8080 ' ) ;
36
36
app . set ( 'port' , port ) ;
37
37
38
38
/**
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " nodejs-cache-cute-name" ,
3
3
"version" : " 1.0.0" ,
4
- "main" : " false" ,
5
4
"author" : " Red Hat, Inc." ,
6
5
"license" : " Apache-2.0" ,
7
6
"scripts" : {
15
14
"prepublish" : " license-reporter report" ,
16
15
"openshift" : " nodeshift --strictSSL=false --nodeVersion=8.x" ,
17
16
"postinstall" : " license-reporter report && license-reporter save --xml licenses.xml" ,
18
- "start" : " PORT=8080 node ./bin/www "
17
+ "start" : " node ."
19
18
},
19
+ "main" : " ./bin/www" ,
20
20
"xo" : {
21
21
"space" : 2 ,
22
22
"rules" : {
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ const http = require('http');
32
32
* Get port from environment and store in Express.
33
33
*/
34
34
35
- const port = normalizePort ( process . env . PORT || '3000 ' ) ;
35
+ const port = normalizePort ( process . env . PORT || '8080 ' ) ;
36
36
app . set ( 'port' , port ) ;
37
37
38
38
/**
Original file line number Diff line number Diff line change 12
12
"coveralls" : " nyc npm test && nyc report --reporter=text-lcov | coveralls" ,
13
13
"ci" : " npm run lint && npm run test" ,
14
14
"dependencyCheck" : " szero . --ci" ,
15
- "start" : " PORT=8080 node ./bin/www " ,
15
+ "start" : " node ." ,
16
16
"prepublish" : " license-reporter report" ,
17
17
"openshift" : " nodeshift --strictSSL=false --nodeVersion=8.x" ,
18
18
"postinstall" : " license-reporter report && license-reporter save --xml licenses.xml"
19
19
},
20
+ "main" : " ./bin/www" ,
20
21
"xo" : {
21
22
"space" : 2 ,
22
23
"rules" : {
You can’t perform that action at this time.
0 commit comments