Skip to content

Commit 3a688f3

Browse files
committed
update API_BASE_URL
1 parent cbef150 commit 3a688f3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/src/serverConfig.js

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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)