File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 1
1
const isProduction = process . env . NODE_ENV === 'production' ;
2
-
3
2
const config = {
4
3
DEV_PORT : 5656 ,
5
4
API_BASE_URL : isProduction
6
- ? 'http ://reactypev15-env.eba-mbvivk7k.us-east-1.elasticbeanstalk.com '
7
- : 'http://localhost:8080 ' ,
5
+ ? 'https ://app.reactype.dev '
6
+ : 'http://localhost:5656 ' ,
8
7
API_BASE_URL2 : isProduction
9
- ? 'http ://reactypev15-env.eba-mbvivk7k.us-east-1.elasticbeanstalk.com '
8
+ ? 'https ://app.reactype.dev '
10
9
: 'http://localhost:8080' ,
11
10
} ;
12
-
13
11
module . exports = config ;
Original file line number Diff line number Diff line change @@ -201,7 +201,6 @@ if (process.env.NODE_ENV == 'production') {
201
201
}
202
202
203
203
app . get ( '/' , ( req , res ) => {
204
- console . log ( 'hit get' , isDocker ) ;
205
204
const indexPath = isDocker
206
205
? path . join ( __dirname , '../index-prod.html' )
207
206
: path . join ( __dirname , '../index.html' ) ;
You can’t perform that action at this time.
0 commit comments