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

Upgrade APIs #22

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions __tests__/shared/reducers/__snapshots__/index.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,16 @@ Object {
"details": null,
"loadingCheckpoints": false,
"loadingDetailsForChallengeId": "",
"loadingMMSubmissionsForChallengeId": "",
"loadingResultsForChallengeId": "",
"loadingSubmissionInformationForSubmissionId": "",
"mmSubmissions": Array [],
"mySubmissions": Object {},
"mySubmissionsManagement": Object {},
"registering": false,
"results": null,
"resultsLoadedForChallengeId": "",
"submissionInformation": null,
"unregistering": false,
"updatingChallengeUuid": "",
},
Expand All @@ -48,7 +52,12 @@ Object {
"groups": Object {},
"loading": Object {},
},
"looker": Object {
"dataSet": Object {},
},
"lookup": Object {
"allCountries": Array [],
"countries": Array [],
"skillTags": Array [],
},
"memberTasks": Object {
Expand Down Expand Up @@ -102,6 +111,8 @@ Object {
"loadingError": false,
"skills": null,
"stats": null,
"updateProfileSuccess": null,
"verifyError": null,
},
"reviewOpportunity": Object {
"authError": false,
Expand All @@ -110,6 +121,7 @@ Object {
"requiredTerms": Array [],
},
"settings": Object {
"traitRequestCount": 0,
"userTraits": Array [],
},
"stats": Object {
Expand Down
4 changes: 4 additions & 0 deletions config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ module.exports = {
API: {
V2: 'https://api.topcoder-dev.com/v2',
V3: 'https://api.topcoder-dev.com/v3',
V4: 'https://api.topcoder-dev.com/v4',
V5: 'https://api.topcoder-dev.com/v5',
},

/* CDN configuration. */
CDN: {
PUBLIC: 'https://d1aahxkjiobka8.cloudfront.net',
},

CHALLENGE_REFRESH_INTERVAL: 5000,

/* Various URLs. Most of them lead to different segments of Topcoder
* platform. */
URL: {
Expand Down
3 changes: 3 additions & 0 deletions config/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ module.exports = {
API: {
V2: 'https://api.topcoder.com/v2',
V3: 'https://api.topcoder.com/v3',
V4: 'https://api.topcoder.com/v4',
V5: 'https://api.topcoder.com/v5',
},
CDN: {
PUBLIC: 'https://d2nl5eqipnb33q.cloudfront.net',
},
CHALLENGE_REFRESH_INTERVAL: 5000,
URL: {
ARENA: 'https://arena.topcoder.com',
APP: 'https://community-app.topcoder.com',
Expand Down
Loading