From f3261d380f01dac6797884f95df9edd80c0186fe Mon Sep 17 00:00:00 2001 From: Kiril Kartunov Date: Tue, 30 Jun 2020 14:52:27 +0300 Subject: [PATCH 1/3] Fix #4616 --- config/default.js | 2 +- config/production.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/default.js b/config/default.js index 80ecfe7eea..81fbb9a495 100644 --- a/config/default.js +++ b/config/default.js @@ -382,7 +382,7 @@ module.exports = { ACCOUNT_MENU: [ { title: 'Settings', - href: '/settings/profile', + href: 'https://community-app.topcoder-dev.com/settings/profile', }, { separator: true }, { diff --git a/config/production.js b/config/production.js index 38f339d39c..6eac0f1d49 100644 --- a/config/production.js +++ b/config/production.js @@ -185,7 +185,7 @@ module.exports = { ACCOUNT_MENU: [ { title: 'Settings', - href: '/settings/profile', + href: 'https://topcoder.com/settings/profile', }, { separator: true }, { From 5b59cbd8748a61f184b62b99dfc0c876f39ec680 Mon Sep 17 00:00:00 2001 From: Kiril Kartunov Date: Tue, 30 Jun 2020 15:02:49 +0300 Subject: [PATCH 2/3] Relative settings link by default #4616 --- config/default.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/default.js b/config/default.js index 81fbb9a495..80ecfe7eea 100644 --- a/config/default.js +++ b/config/default.js @@ -382,7 +382,7 @@ module.exports = { ACCOUNT_MENU: [ { title: 'Settings', - href: 'https://community-app.topcoder-dev.com/settings/profile', + href: '/settings/profile', }, { separator: true }, { From e07747c8e87036577f1dfb2bfd6f4dfb7cf7cd95 Mon Sep 17 00:00:00 2001 From: Kiril Kartunov Date: Tue, 30 Jun 2020 15:53:42 +0300 Subject: [PATCH 3/3] Fix for #4616 --- config/production.js | 2 +- src/shared/routes/Communities/TCO21/Routes.jsx | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/config/production.js b/config/production.js index 6eac0f1d49..38f339d39c 100644 --- a/config/production.js +++ b/config/production.js @@ -185,7 +185,7 @@ module.exports = { ACCOUNT_MENU: [ { title: 'Settings', - href: 'https://topcoder.com/settings/profile', + href: '/settings/profile', }, { separator: true }, { diff --git a/src/shared/routes/Communities/TCO21/Routes.jsx b/src/shared/routes/Communities/TCO21/Routes.jsx index 7c238f0ba2..ea68191323 100644 --- a/src/shared/routes/Communities/TCO21/Routes.jsx +++ b/src/shared/routes/Communities/TCO21/Routes.jsx @@ -10,6 +10,7 @@ import ContentfulRoute from 'components/Contentful/Route'; import ContentfulMenu from 'components/Contentful/Menu'; import Profile from 'routes/Profile'; import ProfileStats from 'routes/ProfileStats'; +import Settings from 'routes/Settings'; export default function TCO21({ base, meta }) { return ( @@ -35,6 +36,10 @@ export default function TCO21({ base, meta }) { exact path={`${base}/members/:handle([\\w\\-\\[\\].{}]{2,15})/details`} /> + } + path={`${base}/settings`} + /> }