Skip to content

Commit d9f08d4

Browse files
authored
Merge pull request #237 from topcoder-platform/universal-nav
Prod env flag
2 parents af80b70 + 2eb4098 commit d9f08d4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

web/includes/inc_header_reskin.jsp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
<script type="text/javascript">
1515
var currEnv = '<%=ApplicationServer.ENVIRONMENT%>';
1616
var prodEnv = '<%=ApplicationServer.PROD%>';
17-
var scriptURL = '//uni-nav.topcoder-dev.com/v1/tc-universal-nav.js';
17+
var scriptURL = '//uni-nav.topcoder.com/v1/tc-universal-nav.js';
1818
19-
if (currEnv === prodEnv) {
20-
scriptURL = '//uni-nav.topcoder.com/v1/tc-universal-nav-1.js';
21-
}
19+
/*if (currEnv != prodEnv) {
20+
scriptURL = '//uni-nav.topcoder-dev.com/v1/tc-universal-nav-1.js';
21+
}*/
2222
2323
!function(n,t,e,a,c,i,o){n['TcUnivNavConfig']=c,n[c]=n[c]||function(){
2424
(n[c].q=n[c].q??[]).push(arguments)},n[c].l=1*new Date();i=t.createElement(e),

0 commit comments

Comments
 (0)