Skip to content

Commit

Permalink
update activation url
Browse files Browse the repository at this point in the history
  • Loading branch information
ajefts committed Oct 2, 2017
1 parent 7507828 commit 61b025c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion actions/challengeRegistration.js
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ var sendNotificationEmail = function (api, componentInfo, userId, activeForumCat
if (challengeType === CHALLENGE_TYPE.DEVELOP) {
forumURL = api.config.tcConfig.developForumsUrlPrefix + activeForumCategoryId;
reviewURL = process.env.TC_SOFTWARE_SERVER_NAME + '/review/actions/ViewProjectDetails?pid=' + challengeId;
submitURL = process.env.TC_ACTIVATION_SERVER_NAME + '/challenge-details/' + challengeId + '/submit/?type=develop';
submitURL = process.env.TC_WWW_SERVER_NAME + '/challenge-details/' + challengeId + '/submit/?type=develop';
} else if (challengeType === CHALLENGE_TYPE.DESIGN) {
forumURL = api.config.tcConfig.studioForumsUrlPrefix + activeForumCategoryId;
//submitURL = process.env.TC_STUDIO_SERVER_NAME + '/?module=ViewContestDetails&ct=' + challengeId;
Expand Down
3 changes: 2 additions & 1 deletion deploy/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ export TC_EMAIL_PASSWORD=tc_public_email
export [email protected]
export TC_EMAIL_TEMPLATE_DIR=mail_templates

export TC_ACTIVATION_SERVER_NAME="https://www.topcoder.com"
export TC_ACTIVATION_SERVER_NAME="https://api.topcoder.com/pub/activation.html"
export TC_WWW_SERVER_NAME="https://www.topcoder.com"
export TC_SOFTWARE_SERVER_NAME="https://www.topcoder.com"

#export DISABLE_CONSOLE_LOG=true
Expand Down
3 changes: 2 additions & 1 deletion deploy/development.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ export TC_EMAIL_PASSWORD=tc_public_email
export [email protected]
export TC_EMAIL_TEMPLATE_DIR=mail_templates

export TC_ACTIVATION_SERVER_NAME="https://www.topcoder.com"
export TC_ACTIVATION_SERVER_NAME="https://api.topcoder.com/pub/activation.html"
export TC_WWW_SERVER_NAME="https://www.topcoder.com"
export TC_SOFTWARE_SERVER_NAME="https://software.topcoder.com"
export TC_FORUMS_SERVER_NAME="http://apps.topcoder.com/forums"

Expand Down
3 changes: 2 additions & 1 deletion deploy/vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ export TC_EMAIL_PASSWORD=tc_public_email
export [email protected]
export TC_EMAIL_TEMPLATE_DIR=mail_templates

export TC_ACTIVATION_SERVER_NAME="https://www.topcoder.com"
export TC_ACTIVATION_SERVER_NAME="https://api.topcoder.com/pub/activation.html"
export TC_WWW_SERVER_NAME="https://www.topcoder.com"
export TC_SOFTWARE_SERVER_NAME="https://software.topcoder.com"
export TC_FORUMS_SERVER_NAME="http://apps.topcoder.com/forums"

Expand Down
3 changes: 2 additions & 1 deletion local/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ export TC_EMAIL_PASSWORD=tc_public_email
export [email protected]
export TC_EMAIL_TEMPLATE_DIR=mail_templates

export TC_ACTIVATION_SERVER_NAME="https://www.topcoder.com"
export TC_ACTIVATION_SERVER_NAME="https://api.topcoder.com/pub/activation.html"
export TC_WWW_SERVER_NAME="https://www.topcoder.com"
export TC_SOFTWARE_SERVER_NAME="https://software.topcoder.com"
export TC_FORUMS_SERVER_NAME="http://apps.topcoder.com/forums"

Expand Down

0 comments on commit 61b025c

Please sign in to comment.