Skip to content

Commit 939cb62

Browse files
authored
Merge pull request #36 from oslabs-beta/eliza-change-back
Update API_BASE_URL
2 parents cbef150 + 3a688f3 commit 939cb62

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/src/serverConfig.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ const isProduction = process.env.NODE_ENV === 'production';
22
const serverConfig = {
33
DEV_PORT: 5656,
44
API_BASE_URL: isProduction
5-
? 'https://reactype-2c81e4204f81.herokuapp.com'
5+
? 'https://app.reactype.dev'
66
: 'http://localhost:5656',
77
// : 'http://localhost:8080',
88
API_BASE_URL2: isProduction
9-
? 'https://reactype-2c81e4204f81.herokuapp.com'
9+
? 'https://app.reactype.dev'
1010
: 'http://localhost:8080'
1111
};
1212
// module.exports = config;

config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ const isProduction = process.env.NODE_ENV === 'production';
22
const config = {
33
DEV_PORT: 5656,
44
API_BASE_URL: isProduction
5-
? 'https://reactype-2c81e4204f81.herokuapp.com'
5+
? 'https://app.reactype.dev'
66
: 'http://localhost:5656',
77
// : 'http://localhost:8080',
88
API_BASE_URL2: isProduction
9-
? 'https://reactype-2c81e4204f81.herokuapp.com'
9+
? 'https://app.reactype.dev'
1010
: 'http://localhost:8080'
1111
};
1212
module.exports = config;

0 commit comments

Comments
 (0)