Skip to content

Commit 91b32b9

Browse files
authored
Merge pull request #4062 from topcoder-platform/feature-m2m-with-stats
fix profile redirection
2 parents 5c71698 + 5d68699 commit 91b32b9

File tree

1 file changed

+1
-1
lines changed
  • src/shared/components/tc-communities/Header

1 file changed

+1
-1
lines changed

src/shared/components/tc-communities/Header/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function Header(props) {
6666
items: [{
6767
enforceA: true,
6868
icon: <IconNavProfile />,
69-
link: `${BASE_URL}/members/${normalizedProfile.handle}`,
69+
link: `${meta ? _.replace(BASE_URL, 'www', meta.subdomains[0]) : BASE_URL}/members/${normalizedProfile.handle}`,
7070
title: 'My Profile',
7171
}, {
7272
openNewTab: true,

0 commit comments

Comments
 (0)