File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ const http = require('http');
44
55const app = require ( '../app' ) ;
66const {
7- httpPort ,
7+ port ,
88} = require ( '../environment' ) ;
99
1010const httpServer = http . createServer ( app ) ;
11- httpServer . listen ( httpPort ) ;
12- console . info ( `http: listening on port ${ httpPort } ` ) ;
11+ httpServer . listen ( port ) ;
12+ console . info ( `http: listening on port ${ port } ` ) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ const path = require('path');
33const {
44 NODE_ENV = 'production' ,
55
6- HTTP_PORT = '8080' ,
6+ PORT = '8080' ,
77 PROXY_PORT = '3000' ,
88
99 GITHUB_CLIENT_ID ,
@@ -14,7 +14,7 @@ const {
1414const __PROD__ = NODE_ENV === 'production' ;
1515const __DEV__ = ! __PROD__ ;
1616
17- const httpPort = parseInt ( HTTP_PORT ) ;
17+ const port = parseInt ( PORT ) ;
1818const proxyPort = parseInt ( PROXY_PORT ) ;
1919
2020const githubClientId = GITHUB_CLIENT_ID ;
@@ -34,7 +34,7 @@ const apiEndpoint = '/api';
3434module . exports = {
3535 __PROD__ ,
3636 __DEV__ ,
37- httpPort ,
37+ port ,
3838 proxyPort,
3939 githubClientId,
4040 githubClientSecret,
You can’t perform that action at this time.
0 commit comments