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 11const isProduction = process . env . NODE_ENV === 'production' ;
2-
32const config = {
43 DEV_PORT : 5656 ,
54 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 ' ,
87 API_BASE_URL2 : isProduction
9- ? 'http ://reactypev15-env.eba-mbvivk7k.us-east-1.elasticbeanstalk.com '
8+ ? 'https ://app.reactype.dev '
109 : 'http://localhost:8080' ,
1110} ;
12-
1311module . exports = config ;
Original file line number Diff line number Diff line change @@ -201,7 +201,6 @@ if (process.env.NODE_ENV == 'production') {
201201}
202202
203203app . get ( '/' , ( req , res ) => {
204- console . log ( 'hit get' , isDocker ) ;
205204 const indexPath = isDocker
206205 ? path . join ( __dirname , '../index-prod.html' )
207206 : path . join ( __dirname , '../index.html' ) ;
You can’t perform that action at this time.
0 commit comments