Skip to content

Commit 2dae369

Browse files
PROD-3257 #comment This commit changes the path to the uni nav script #time 15m
1 parent 784667b commit 2dae369

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src-ts/config/environments/environment.default.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ export const EnvironmentConfigDefault: EnvironmentConfigModel = {
4242
WP_CONTENT: `${COMMUNITY_WEBSITE}/wp-content`,
4343
},
4444
UNIVERSAL_NAV: {
45-
URL: 'https://uni-nav.topcoder-dev.com/tc-universal-nav-1.js',
45+
URL: 'https://uni-nav.topcoder-dev.com/v1/tc-universal-nav.js',
4646
},
4747
}

src-ts/config/environments/environment.prod.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ export const EnvironmentConfigProd: EnvironmentConfigModel = {
4040
WP_CONTENT: `${COMMUNITY_WEBSITE}/wp-content`,
4141
},
4242
UNIVERSAL_NAV: {
43-
URL: 'https://uni-nav.topcoder.com/tc-universal-nav-1.js',
43+
URL: 'https://uni-nav.topcoder.com/v1/tc-universal-nav.js',
4444
},
4545
}

src-ts/header/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ The Platform UI project uses the Topcoder Universal navigation ([README](https:/
66

77
The Uni-nav is a hosted JS library. There are currently dev and prod versions of the library located at:
88

9-
https://uni-nav.topcoder.com/tc-universal-nav-1.js
9+
https://uni-nav.topcoder.com/v1/tc-universal-nav.js
1010

11-
https://uni-nav.topcoder-dev.com/tc-universal-nav-1.js
11+
https://uni-nav.topcoder-dev.com/v1/tc-universal-nav.js
1212

1313
The URL is set at build time with the [Global Config](../lib/global-config.model.ts) `UNIVERSAL_NAV.URL` property.
1414

@@ -23,6 +23,6 @@ The Header uses the `tcUniNav` method to initialize the nav with:
2323
- active tool name
2424
- active tool root route
2525
- current user, if logged in
26-
- action handler callbacks (e.g. navigation, log in, sign up)
26+
- action handler callbacks (e.g. navigation, log in, log out, sign up)
2727

2828
Because the Platform UI hosts multiple tools, each time the user navigates to a new tool, the Header updates the uni-nav w/the active tool info.

0 commit comments

Comments
 (0)