@@ -12,51 +12,36 @@ module.exports = {
12
12
/**
13
13
* URL of Topcoder Connect Website
14
14
*/
15
- SERVER_API_KEY : "79b2d5eb-c1fd-42c4-9391-6b2c9780d591" ,
16
15
CONNECT_WEBSITE_URL : "https://connect.topcoder-dev.com" ,
17
16
17
+ SERVER_API_KEY : "79b2d5eb-c1fd-42c4-9391-6b2c9780d591" ,
18
18
URL : {
19
- ARENA : "https://arena.topcoder-dev.com" ,
19
+ /* Connector URL of the TC accounts App. */
20
+ ACCOUNTS_APP_CONNECTOR : "https://accounts-auth0.topcoder-dev.com" ,
21
+
22
+ /* The remote address where the app is deployed. */
20
23
APP : "https://community-app.topcoder-dev.com" ,
21
24
22
25
/* This is the same value as above, but it is used by topcoder-react-lib,
23
26
* as a more verbose name for the param. */
24
27
COMMUNITY_APP : "https://community-app.topcoder-dev.com" ,
25
28
29
+ PLATFORM_WEBSITE : "https://platform.topcoder-dev.com" ,
30
+ ARENA : "https://arena.topcoder-dev.com" ,
26
31
AUTH : "https://accounts-auth0.topcoder-dev.com" ,
27
32
BASE : "https://www.topcoder-dev.com" ,
28
33
HOME : "/my-dashboard" ,
29
34
BLOG : "https://www.topcoder-dev.com/blog" ,
30
35
BLOG_FEED : "https://www.topcoder.com/blog/feed/" ,
31
-
32
36
COMMUNITY : "https://community.topcoder-dev.com" ,
33
37
FORUMS : "https://apps.topcoder-dev.com/forums" ,
34
38
FORUMS_VANILLA : "https://vanilla.topcoder-dev.com" ,
35
39
HELP :
36
- "https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles" ,
40
+ "https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles" ,
37
41
SUBMISSION_REVIEW : "https://submission-review.topcoder-dev.com" ,
38
42
39
43
THRIVE : "https://www.topcoder.com/thrive" ,
40
44
41
- MEMBER : "https://members.topcoder-dev.com" ,
42
- ONLINE_REVIEW : "https://software.topcoder-dev.com" ,
43
- PAYMENT_TOOL : "https://payment.topcoder-dev.com" ,
44
- STUDIO : "https://studio.topcoder-dev.com" ,
45
- IOS : "https://ios.topcoder-dev.com" ,
46
-
47
- /* Connector URL of the TC accounts App. */
48
- ACCOUNTS_APP_CONNECTOR : "https://accounts-auth0.topcoder-dev.com" ,
49
-
50
- TCO : "https://www.topcoder.com/tco" ,
51
- TCO17 : "https://tco17.topcoder.com/" ,
52
- TCO19 : "https://community-app.topcoder-dev.com/__community__/tco19" ,
53
- WIPRO : "https://wipro.topcoder.com" ,
54
-
55
- TOPGEAR : "https://dev-topgear.wipro.com" ,
56
-
57
- COMMUNITY_API : "http://localhost:8000" ,
58
- COMMUNITY_APP_GITHUB_ISSUES :
59
- "https://github.com/topcoder-platform/community-app/issues" ,
60
45
COMMUNITIES : {
61
46
BLOCKCHAIN : "https://blockchain.topcoder-dev.com" ,
62
47
COGNITIVE : "https://cognitive.topcoder-dev.com" ,
@@ -65,6 +50,8 @@ module.exports = {
65
50
CS : "https://community-app.topcoder-dev.com/__community__/cs" ,
66
51
} ,
67
52
53
+ /* Dedicated section to group together links to various articles in
54
+ * Topcoder help center. */
68
55
INFO : {
69
56
DESIGN_CHALLENGES :
70
57
"http://help.topcoder.com/hc/en-us/categories/202610437-DESIGN" ,
@@ -90,10 +77,28 @@ module.exports = {
90
77
TEMPLATES_REPO : "https://github.com/topcoder-platform-templates" ,
91
78
} ,
92
79
80
+ IOS : "https://ios.topcoder-dev.com" ,
81
+ MEMBER : "https://members.topcoder-dev.com" ,
82
+ ONLINE_REVIEW : "https://software.topcoder-dev.com" ,
83
+ PAYMENT_TOOL : "https://payment.topcoder-dev.com" ,
84
+ STUDIO : "https://studio.topcoder-dev.com" ,
85
+ TCO : "https://www.topcoder.com/tco" ,
86
+ TCO17 : "https://tco17.topcoder.com/" ,
87
+ TCO19 : "https://community-app.topcoder-dev.com/__community__/tco19" ,
88
+
89
+ TOPGEAR : "https://dev-topgear.wipro.com" ,
90
+
93
91
USER_SETTINGS : "https://lc1-user-settings-service.herokuapp.com" ,
94
- EMAIL_VERIFY_URL : "http://www.topcoder-dev.com/settings/account/changeEmail" ,
92
+ WIPRO : "https://wipro.topcoder.com" ,
93
+ COMMUNITY_API : "http://localhost:8000" ,
94
+ COMMUNITY_APP_GITHUB_ISSUES :
95
+ "https://github.com/topcoder-platform/community-app/issues" ,
96
+ EMAIL_VERIFY_URL :
97
+ "http://www.topcoder-dev.com/settings/account/changeEmail" ,
95
98
ABANDONMENT_EMBED :
96
99
"https://43d132d5dbff47c59d9d53ad448f93c2.js.ubembed.com" ,
100
+ // If a logged in user is a member of any of these groups, when they land on
101
+ // their profile page (members/:handle), they'll be redirected to the "userProfile" url
97
102
SUBDOMAIN_PROFILE_CONFIG : [
98
103
{
99
104
groupId : "20000000" ,
@@ -115,7 +120,6 @@ module.exports = {
115
120
V3 : "https://api.topcoder-dev.com/v3" ,
116
121
V2 : "https://api.topcoder-dev.com/v2" ,
117
122
} ,
118
-
119
123
MOCK_TERMS_SERVICE : false ,
120
124
AV_SCAN_SCORER_REVIEW_TYPE_ID : "55bbb17d-aac2-45a6-89c3-a8d102863d05" ,
121
125
PROVISIONAL_SCORING_COMPLETED_REVIEW_TYPE_ID : "df51ca7d-fb0a-4147-9569-992fcf5aae48" ,
@@ -126,4 +130,13 @@ module.exports = {
126
130
DEFAULT_SPACE_NAME : "default" ,
127
131
DEFAULT_ENVIRONMENT : "master" ,
128
132
} ,
133
+ /* Filestack configuration for uploading Submissions
134
+ * These are for the development back end */
135
+ FILESTACK : {
136
+ API_KEY : process . env . FILESTACK_API_KEY || "AzFINuQoqTmqw0QEoaw9az" ,
137
+ REGION : "us-east-1" ,
138
+ SUBMISSION_CONTAINER :
139
+ process . env . FILESTACK_SUBMISSION_CONTAINER ||
140
+ "topcoder-dev-submissions-dmz" ,
141
+ } ,
129
142
} ;
0 commit comments