Skip to content

Commit 338fb7f

Browse files
authored
Merge pull request #238 from topcoder-platform/universal-nav
Additional prod related fixes
2 parents d9f08d4 + fcaf6ae commit 338fb7f

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

web/includes/inc_header_reskin.jsp

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,19 @@
3737
handle
3838
};
3939
40-
var signInUrl = "https://accounts-auth0.topcoder-dev.com/?retUrl=https://software.topcoder-dev.com/review"
40+
var signInUrl = "https://accounts-auth0.topcoder.com/?retUrl=https://software.topcoder.com/review";
4141
42-
var registerUrl = "https://accounts-auth0.topcoder-dev.com/?retUrl=https://software.topcoder-dev.com/review&mode=signUp&regSource=onlinereview";
4342
44-
var signOutUrl = "https://topcoder-dev.com/logout";
43+
var registerUrl = "https://accounts-auth0.topcoder.com/?retUrl=https://software.topcoder.com/review&mode=signUp&regSource=onlinereview";
4544
46-
if (currEnv === prodEnv) {
47-
registerUrl = "https://accounts-auth0.topcoder.com/?retUrl=https://software.topcoder.com/review&mode=signUp&regSource=onlinereview";
48-
signInUrl = "https://accounts-auth0.topcoder.com/?retUrl=https://software.topcoder.com/review";
49-
signOutUrl = "https://topcoder.com/logout";
50-
}
45+
var signOutUrl = "https://topcoder.com/logout";
46+
47+
/*if (currEnv != prodEnv) {
48+
registerUrl = "https://accounts-auth0.topcoder-dev.com/?retUrl=https://software.topcoder-dev.com/review&mode=signUp&regSource=onlinereview";
49+
50+
signInUrl = "https://accounts-auth0.topcoder-dev.com/?retUrl=https://software.topcoder-dev.com/review";
51+
signOutUrl = "https://topcoder-dev.com/logout";
52+
}*/
5153
5254
tcUniNav('init', 'headerNav', {
5355
type: 'tool',

0 commit comments

Comments
 (0)