From 0d24df3aa937ad925542e760359fcc4d3d25fdc0 Mon Sep 17 00:00:00 2001 From: Hentry Martin Date: Wed, 18 Dec 2024 11:04:01 +0100 Subject: [PATCH 1/2] fix: added https to nav url as it is breaking url constructor --- config/constants/development.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/constants/development.js b/config/constants/development.js index 07d39092..55db9b79 100644 --- a/config/constants/development.js +++ b/config/constants/development.js @@ -51,7 +51,7 @@ module.exports = { // duration to show the prompt saying user will be logged out, before actually logging out the user IDLE_TIMEOUT_GRACE_MINUTES: 5, MULTI_ROUND_CHALLENGE_TEMPLATE_ID: 'd4201ca4-8437-4d63-9957-3f7708184b07', - UNIVERSAL_NAV_URL: '//uni-nav.topcoder-dev.com/v1/tc-universal-nav.js', + UNIVERSAL_NAV_URL: 'https://uni-nav.topcoder-dev.com/v1/tc-universal-nav.js', HEADER_AUTH_URLS_HREF: `https://accounts-auth0.${DOMAIN}?utm_source=community-app-main`, HEADER_AUTH_URLS_LOCATION: `https://accounts-auth0.${DOMAIN}?retUrl=%S&utm_source=community-app-main`, SKILLS_V5_API_URL: `${API_V5}/standardized-skills/skills/autocomplete`, From d908ec805f262503f70157b96d8cf68c0ad176f8 Mon Sep 17 00:00:00 2001 From: Hentry Martin Date: Wed, 18 Dec 2024 11:06:42 +0100 Subject: [PATCH 2/2] fix: added https to nav url as it is breaking url constructor --- config/constants/production.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/constants/production.js b/config/constants/production.js index 6e5e6e64..84fc03c0 100644 --- a/config/constants/production.js +++ b/config/constants/production.js @@ -48,7 +48,7 @@ module.exports = { IDLE_TIMEOUT_MINUTES: 10, IDLE_TIMEOUT_GRACE_MINUTES: 5, MULTI_ROUND_CHALLENGE_TEMPLATE_ID: 'd4201ca4-8437-4d63-9957-3f7708184b07', - UNIVERSAL_NAV_URL: '//uni-nav.topcoder.com/v1/tc-universal-nav.js', + UNIVERSAL_NAV_URL: 'https://uni-nav.topcoder.com/v1/tc-universal-nav.js', HEADER_AUTH_URLS_HREF: `https://accounts-auth0.${DOMAIN}?utm_source=community-app-main`, HEADER_AUTH_URLS_LOCATION: `https://accounts-auth0.${DOMAIN}?retUrl=%S&utm_source=community-app-main`, SKILLS_V5_API_URL: `${API_V5}/standardized-skills/skills/autocomplete`,