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

Commit d4e4eca

Browse files
committed
use hardcoded topcoder.com for submitURL for now until an env var can be set up
1 parent afa545d commit d4e4eca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

actions/challengeRegistration.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,9 @@ var sendNotificationEmail = function (api, componentInfo, userId, activeForumCat
380380
user = result[0];
381381
projectName = componentInfo.project_name + api.helper.getPhaseName(componentInfo.phase_id) + ' Contest';
382382
documentationDetails = '';
383-
submitURL = process.env.TC_ACTIVATION_SERVER_NAME + '/challenge-details/' + challengeId + '/submit/';
383+
// we need to set up a new environment variable for the web server name specifici to each environment
384+
//submitURL = process.env.TC_ACTIVATION_SERVER_NAME + '/challenge-details/' + challengeId + '/submit/';
385+
submitURL = 'https://www.topcoder.com/challenge-details/' + challengeId + '/submit/';
384386
reviewURL = process.env.TC_SOFTWARE_SERVER_NAME + '/review';
385387

386388
if (componentInfo.phase_id === 112) {

0 commit comments

Comments
 (0)