Skip to content

Commit 4823421

Browse files
authored
update goals api (#1740)
1 parent 8762294 commit 4823421

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

config/default.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ module.exports = {
4848
authRedirection: "/goto",
4949
},
5050
goalAPI: {
51-
baseUrl: "https://goal-api.realdevsquad.com",
52-
secretKey: "<goalSecretKey>",
51+
baseUrl: "https://goals-api.realdevsquad.com",
5352
cookieName: `goals-session-${NODE_ENV}`,
5453
},
5554
},

config/development.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = {
2424
},
2525

2626
goalAPI: {
27-
baseUrl: "https://backend-goals-production.up.railway.app",
27+
baseUrl: "https://staging-goals-api.realdevsquad.com",
2828
secretKey: "123456789",
2929
},
3030
},

config/production.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,10 @@ module.exports = {
99
userToken: {
1010
cookieName: "rds-session",
1111
},
12+
13+
services: {
14+
goalAPI: {
15+
baseUrl: "https://goals-api.realdevsquad.com",
16+
},
17+
},
1218
};

config/staging.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = {
1818
baseUrl: "https://staging-api.realdevsquad.com",
1919
},
2020
goalAPI: {
21-
baseUrl: "https://backend-goals-production.up.railway.app",
21+
baseUrl: "https://staging-goals-api.realdevsquad.com",
2222
secretKey: "123456789",
2323
},
2424
},

0 commit comments

Comments
 (0)