Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 9a86ff8

Browse files
committed
Remove test configs and default the BUILD_ENV to prod for now.
1 parent 6b16b14 commit 9a86ff8

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

gulp/ng-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ gulp.task('ng-config', function () {
1010
gulp.src('src/front/config.json')
1111
.pipe(
1212
gulpNgConfig('app.constants', {
13-
environment: process.env.BUILD_ENV || 'dev',
13+
environment: process.env.BUILD_ENV || 'prod',
1414
}))
1515
.pipe(gulp.dest(paths.src + '/app/'))
1616
});

src/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ module.exports = {
5959
},
6060
TOPCODER_VALUES: {
6161
dev: {
62-
TC_LOGIN_URL: process.env.TC_LOGIN_URL || 'https://DEFAULT',
62+
TC_LOGIN_URL: process.env.TC_LOGIN_URL || 'https://accounts.topcoder-dev.com/member',
6363
TC_USER_PROFILE_URL: process.env.TC_USER_PROFILE_URL || 'https://api.topcoder-dev.com/v2/user/profile',
6464
},
6565
prod: {
66-
TC_LOGIN_URL: process.env.TC_LOGIN_URL || 'https://DEFAULT',
66+
TC_LOGIN_URL: process.env.TC_LOGIN_URL || 'https://accounts.topcoder.com/member',
6767
TC_USER_PROFILE_URL: process.env.TC_USER_PROFILE_URL || 'https://api.topcoder.com/v2/user/profile',
6868
},
6969
},

src/front/config.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"JWT_V3_NAME":"v3jwt",
44
"JWT_V2_NAME":"tcjwt",
55
"COOKIES_SECURE":false,
6-
"TC_LOGIN_URL": "http://CONFIG_LOCAL",
6+
"TC_LOGIN_URL": "https://accounts.topcoder-dev.com/member",
77
"TC_USER_PROFILE_URL": "http://api.topcoder-dev.com/v2/user/profile",
88
"API_URL": "https://127.0.0.1:8443",
99
"ADMIN_TOOL_URL": "http://localhost:8080/api/v2",
@@ -20,7 +20,7 @@
2020
"JWT_V3_NAME":"v3jwt",
2121
"JWT_V2_NAME":"tcjwt",
2222
"COOKIES_SECURE":false,
23-
"TC_LOGIN_URL": "http://CONFIG_HEROKU",
23+
"TC_LOGIN_URL": "https://accounts.topcoder-dev.com/member",
2424
"TC_USER_PROFILE_URL": "https://api.topcoder-dev.com/v2/user/profile",
2525
"API_URL": "https://api.topcoder-dev.com",
2626
"ADMIN_TOOL_URL": "https://api.topcoder-dev.com/v2",
@@ -36,7 +36,7 @@
3636
"JWT_V3_NAME":"v3jwt",
3737
"JWT_V2_NAME":"tcjwt",
3838
"COOKIES_SECURE":false,
39-
"TC_LOGIN_URL": "http://CONFIG_DEV",
39+
"TC_LOGIN_URL": "https://accounts.topcoder-dev.com/member",
4040
"TC_USER_PROFILE_URL": "https://api.topcoder-dev.com/v2/user/profile",
4141
"API_URL": "https://api.topcoder-dev.com",
4242
"ADMIN_TOOL_URL": "https://api.topcoder-dev.com/v2",
@@ -52,7 +52,7 @@
5252
"JWT_V3_NAME":"v3jwt",
5353
"JWT_V2_NAME":"tcjwt",
5454
"COOKIES_SECURE":false,
55-
"TC_LOGIN_URL": "http://CONFIG_QA",
55+
"TC_LOGIN_URL": "https://accounts.topcoder-dev.com/member",
5656
"TC_USER_PROFILE_URL": "https://api.topcoder-dev.com/v2/user/profile",
5757
"API_URL": "https://api.topcoder-qa.com",
5858
"ADMIN_TOOL_URL": "https://api.topcoder-qa.com/v2",
@@ -68,7 +68,7 @@
6868
"JWT_V3_NAME":"v3jwt",
6969
"JWT_V2_NAME":"tcjwt",
7070
"COOKIES_SECURE":false,
71-
"TC_LOGIN_URL": "http://CONFIG_PROD",
71+
"TC_LOGIN_URL": "https://accounts.topcoder.com/member",
7272
"TC_USER_PROFILE_URL": "https://api.topcoder.com/v2/user/profile",
7373
"API_URL": "https://api.topcoder.com",
7474
"ADMIN_TOOL_URL": "https://api.topcoder.com/v2",

0 commit comments

Comments
 (0)