Skip to content

Commit 62fb063

Browse files
authored
Merge pull request #1600 from topcoder-platform/fix-url-error
fix: added https to nav url as without it is breaking url constructor
2 parents 269138f + d908ec8 commit 62fb063

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/constants/development.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ module.exports = {
5151
// duration to show the prompt saying user will be logged out, before actually logging out the user
5252
IDLE_TIMEOUT_GRACE_MINUTES: 5,
5353
MULTI_ROUND_CHALLENGE_TEMPLATE_ID: 'd4201ca4-8437-4d63-9957-3f7708184b07',
54-
UNIVERSAL_NAV_URL: '//uni-nav.topcoder-dev.com/v1/tc-universal-nav.js',
54+
UNIVERSAL_NAV_URL: 'https://uni-nav.topcoder-dev.com/v1/tc-universal-nav.js',
5555
HEADER_AUTH_URLS_HREF: `https://accounts-auth0.${DOMAIN}?utm_source=community-app-main`,
5656
HEADER_AUTH_URLS_LOCATION: `https://accounts-auth0.${DOMAIN}?retUrl=%S&utm_source=community-app-main`,
5757
SKILLS_V5_API_URL: `${API_V5}/standardized-skills/skills/autocomplete`,

config/constants/production.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module.exports = {
4848
IDLE_TIMEOUT_MINUTES: 10,
4949
IDLE_TIMEOUT_GRACE_MINUTES: 5,
5050
MULTI_ROUND_CHALLENGE_TEMPLATE_ID: 'd4201ca4-8437-4d63-9957-3f7708184b07',
51-
UNIVERSAL_NAV_URL: '//uni-nav.topcoder.com/v1/tc-universal-nav.js',
51+
UNIVERSAL_NAV_URL: 'https://uni-nav.topcoder.com/v1/tc-universal-nav.js',
5252
HEADER_AUTH_URLS_HREF: `https://accounts-auth0.${DOMAIN}?utm_source=community-app-main`,
5353
HEADER_AUTH_URLS_LOCATION: `https://accounts-auth0.${DOMAIN}?retUrl=%S&utm_source=community-app-main`,
5454
SKILLS_V5_API_URL: `${API_V5}/standardized-skills/skills/autocomplete`,

0 commit comments

Comments
 (0)