Skip to content

Commit 004d3b8

Browse files
Merge pull request #2610 from gets0ul/issue-2453
Fix for issue #2453
2 parents 24a92b2 + b4cd21b commit 004d3b8

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

__tests__/shared/components/Header/__snapshots__/index.jsx.snap

+8-8
Original file line numberDiff line numberDiff line change
@@ -32,23 +32,23 @@ exports[`Default render 1`] = `
3232
Object {
3333
"subMenu": Array [
3434
Object {
35-
"href": "https://www.topcoder-dev.com/community/competitive-programming",
35+
"href": "/community/competitive-programming",
3636
"title": "Competitive programming",
3737
},
3838
Object {
39-
"href": "https://www.topcoder-dev.com/community/data-science/",
39+
"href": "/community/data-science",
4040
"title": "Data Science",
4141
},
4242
Object {
43-
"href": "https://www.topcoder-dev.com/community/design/",
43+
"href": "/community/design",
4444
"title": "Design",
4545
},
4646
Object {
47-
"href": "https://www.topcoder-dev.com/community/development",
47+
"href": "/community/development",
4848
"title": "Development",
4949
},
5050
Object {
51-
"href": "https://www.topcoder-dev.com/community/qa",
51+
"href": "/community/qa",
5252
"title": "QA",
5353
},
5454
],
@@ -61,19 +61,19 @@ exports[`Default render 1`] = `
6161
"title": "TCO",
6262
},
6363
Object {
64-
"href": "https://www.topcoder-dev.com/community/member-programs",
64+
"href": "/community/member-programs",
6565
"title": "Programs",
6666
},
6767
Object {
6868
"href": "https://apps.topcoder-dev.com/forums",
6969
"title": "Forums",
7070
},
7171
Object {
72-
"href": "https://www.topcoder-dev.com/community/statistics",
72+
"href": "/community/statistics",
7373
"title": "Statistics",
7474
},
7575
Object {
76-
"href": "https://www.topcoder-dev.com/community/events",
76+
"href": "/community/events",
7777
"title": "Events",
7878
},
7979
Object {

config/default.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -236,23 +236,23 @@ module.exports = {
236236
subMenu: [
237237
{
238238
title: 'Competitive programming',
239-
href: 'https://www.topcoder-dev.com/community/competitive-programming',
239+
href: '/community/competitive-programming',
240240
},
241241
{
242242
title: 'Data Science',
243-
href: 'https://www.topcoder-dev.com/community/data-science/',
243+
href: '/community/data-science',
244244
},
245245
{
246246
title: 'Design',
247-
href: 'https://www.topcoder-dev.com/community/design/',
247+
href: '/community/design',
248248
},
249249
{
250250
title: 'Development',
251-
href: 'https://www.topcoder-dev.com/community/development',
251+
href: '/community/development',
252252
},
253253
{
254254
title: 'QA',
255-
href: 'https://www.topcoder-dev.com/community/qa',
255+
href: '/community/qa',
256256
},
257257
],
258258
},
@@ -265,19 +265,19 @@ module.exports = {
265265
},
266266
{
267267
title: 'Programs',
268-
href: 'https://www.topcoder-dev.com/community/member-programs',
268+
href: '/community/member-programs',
269269
},
270270
{
271271
title: 'Forums',
272272
href: 'https://apps.topcoder-dev.com/forums',
273273
},
274274
{
275275
title: 'Statistics',
276-
href: 'https://www.topcoder-dev.com/community/statistics',
276+
href: '/community/statistics',
277277
},
278278
{
279279
title: 'Events',
280-
href: 'https://www.topcoder-dev.com/community/events',
280+
href: '/community/events',
281281
},
282282
{
283283
title: 'Blog',

config/production.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -79,23 +79,23 @@ module.exports = {
7979
subMenu: [
8080
{
8181
title: 'Competitive programming',
82-
href: 'https://www.topcoder.com/community/competitive-programming',
82+
href: '/community/competitive-programming',
8383
},
8484
{
8585
title: 'Data Science',
86-
href: 'https://www.topcoder.com/community/data-science/',
86+
href: '/community/data-science',
8787
},
8888
{
8989
title: 'Design',
90-
href: 'https://www.topcoder.com/community/design/',
90+
href: '/community/design',
9191
},
9292
{
9393
title: 'Development',
94-
href: 'https://www.topcoder.com/community/development',
94+
href: '/community/development',
9595
},
9696
{
9797
title: 'QA',
98-
href: 'https://www.topcoder.com/community/qa',
98+
href: '/community/qa',
9999
},
100100
],
101101
},
@@ -108,19 +108,19 @@ module.exports = {
108108
},
109109
{
110110
title: 'Programs',
111-
href: 'https://www.topcoder.com/community/member-programs',
111+
href: '/community/member-programs',
112112
},
113113
{
114114
title: 'Forums',
115115
href: 'https://apps.topcoder.com/forums',
116116
},
117117
{
118118
title: 'Statistics',
119-
href: 'https://www.topcoder.com/community/statistics',
119+
href: '/community/statistics',
120120
},
121121
{
122122
title: 'Events',
123-
href: 'https://www.topcoder.com/community/events',
123+
href: '/community/events',
124124
},
125125
{
126126
title: 'Blog',

0 commit comments

Comments
 (0)