diff --git a/.circleci/config.yml b/.circleci/config.yml index 5c9cd08cf3..3795659011 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -182,7 +182,6 @@ workflows: filters: branches: only: - - develop - feature-contentful # This is beta env for production soft releases - "build-prod-beta": diff --git a/__tests__/shared/components/Header/__snapshots__/index.jsx.snap b/__tests__/shared/components/Header/__snapshots__/index.jsx.snap index 6b5aa4f6bc..0436f05920 100644 --- a/__tests__/shared/components/Header/__snapshots__/index.jsx.snap +++ b/__tests__/shared/components/Header/__snapshots__/index.jsx.snap @@ -143,7 +143,7 @@ exports[`Default render 1`] = ` "separator": true, }, Object { - "href": "https://community-app.topcoder-dev.com/thrive/tracks?track=Topcoder", + "href": "/thrive/tracks?track=Topcoder", "title": "Help", }, Object { diff --git a/config/default.js b/config/default.js index 1560f0f112..65aa340f6a 100644 --- a/config/default.js +++ b/config/default.js @@ -382,7 +382,7 @@ module.exports = { { separator: true }, { title: 'Help', - href: 'https://community-app.topcoder-dev.com/thrive/tracks?track=Topcoder', + href: '/thrive/tracks?track=Topcoder', }, { separator: true }, { diff --git a/config/production.js b/config/production.js index b8a9602743..2f4a05b25b 100644 --- a/config/production.js +++ b/config/production.js @@ -189,7 +189,7 @@ module.exports = { { separator: true }, { title: 'Help', - href: 'https://www.topcoder.com/thrive/tracks?track=Topcoder', + href: '/thrive/tracks?track=Topcoder', }, { separator: true }, { diff --git a/src/shared/components/Header/index.jsx b/src/shared/components/Header/index.jsx index 1e52ce9c90..14c0baa8f1 100644 --- a/src/shared/components/Header/index.jsx +++ b/src/shared/components/Header/index.jsx @@ -49,7 +49,7 @@ const Header = ({ } useEffect(() => { - setPath(window.location.pathname); + setPath(window.location.pathname + window.location.search); }, []); /*