diff --git a/config/default.js b/config/default.js index f52f684b5f..1e4f3b5492 100644 --- a/config/default.js +++ b/config/default.js @@ -117,7 +117,7 @@ module.exports = { HELP: 'https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles', SUBMISSION_REVIEW: 'https://submission-review.topcoder-dev.com', - THRIVE: 'https://www.topcoder.com/thrive', + THRIVE: 'https://community-app.topcoder-dev.com/thrive', COMMUNITIES: { BLOCKCHAIN: 'https://blockchain.topcoder-dev.com', diff --git a/config/production.js b/config/production.js index 6d3142daf7..6f068449ec 100644 --- a/config/production.js +++ b/config/production.js @@ -50,6 +50,8 @@ module.exports = { COMMUNITY_API: 'http://localhost:8000', + THRIVE: 'https://www.topcoder.com/thrive', + COMMUNITIES: { BLOCKCHAIN: 'https://blockchain.topcoder.com', COGNITIVE: 'https://cognitive.topcoder.com', diff --git a/src/shared/components/challenge-detail/ThriveArticles/index.jsx b/src/shared/components/challenge-detail/ThriveArticles/index.jsx index ac214202be..97684c34b4 100644 --- a/src/shared/components/challenge-detail/ThriveArticles/index.jsx +++ b/src/shared/components/challenge-detail/ThriveArticles/index.jsx @@ -20,7 +20,7 @@ export default function ThriveArticles({ articles }) { const getPageUrl = article => (article.externalArticle && article.contentUrl ? article.contentUrl - : `${config.TC_EDU_BASE_PATH}${config.TC_EDU_ARTICLES_PATH}/${article.slug || article.title}`); + : `${config.URL.THRIVE}${config.TC_EDU_ARTICLES_PATH}/${article.slug || article.title}`); const items = map(articles, (a, idx) => (