File tree 2 files changed +6
-3
lines changed
components/TitleAndMetaTags
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ const alternatePages = canonicalUrl => {
43
43
} ;
44
44
45
45
const defaultPage = canonicalUrl => {
46
- return canonicalUrl . replace ( urlRoot , 'https://reactjs.org' ) ;
46
+ return canonicalUrl . replace ( urlRoot , 'https://legacy. reactjs.org' ) ;
47
47
} ;
48
48
49
49
const TitleAndMetaTags = ( {
@@ -57,7 +57,10 @@ const TitleAndMetaTags = ({
57
57
< meta property = "og:title" content = { title } />
58
58
< meta property = "og:type" content = { ogType } />
59
59
{ canonicalUrl && < meta property = "og:url" content = { canonicalUrl } /> }
60
- < meta property = "og:image" content = "https://reactjs.org/logo-og.png" />
60
+ < meta
61
+ property = "og:image"
62
+ content = "https://legacy.reactjs.org/logo-og.png"
63
+ />
61
64
< meta
62
65
property = "og:description"
63
66
content = { ogDescription || defaultDescription }
Original file line number Diff line number Diff line change 7
7
8
8
// NOTE: We can't just use `location.toString()` because when we are rendering
9
9
// the SSR part in node.js we won't have a proper location.
10
- const urlRoot = 'https://reactjs.org' ;
10
+ const urlRoot = 'https://legacy. reactjs.org' ;
11
11
const version = '18.2.0' ;
12
12
const babelURL = 'https://unpkg.com/[email protected] /babel.min.js' ;
13
13
You can’t perform that action at this time.
0 commit comments