Skip to content

Commit aba5a8b

Browse files
Merge pull request #6307 from topcoder-platform/thrive-url
Fix thrive url
2 parents f7e0c83 + 20fb301 commit aba5a8b

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

config/default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ module.exports = {
117117
HELP: 'https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles',
118118
SUBMISSION_REVIEW: 'https://submission-review.topcoder-dev.com',
119119

120-
THRIVE: 'https://www.topcoder.com/thrive',
120+
THRIVE: 'https://community-app.topcoder-dev.com/thrive',
121121

122122
COMMUNITIES: {
123123
BLOCKCHAIN: 'https://blockchain.topcoder-dev.com',

config/production.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ module.exports = {
5050

5151
COMMUNITY_API: 'http://localhost:8000',
5252

53+
THRIVE: 'https://www.topcoder.com/thrive',
54+
5355
COMMUNITIES: {
5456
BLOCKCHAIN: 'https://blockchain.topcoder.com',
5557
COGNITIVE: 'https://cognitive.topcoder.com',

src/shared/components/challenge-detail/ThriveArticles/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default function ThriveArticles({ articles }) {
2020

2121
const getPageUrl = article => (article.externalArticle && article.contentUrl
2222
? article.contentUrl
23-
: `${config.TC_EDU_BASE_PATH}${config.TC_EDU_ARTICLES_PATH}/${article.slug || article.title}`);
23+
: `${config.URL.THRIVE}${config.TC_EDU_ARTICLES_PATH}/${article.slug || article.title}`);
2424

2525
const items = map(articles, (a, idx) => (
2626
<div styleName="article" key={idx}>

0 commit comments

Comments
 (0)