File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed 
components/TitleAndMetaTags Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ const alternatePages = canonicalUrl => {
4343} ; 
4444
4545const  defaultPage  =  canonicalUrl  =>  { 
46-   return  canonicalUrl . replace ( urlRoot ,  'https://reactjs.org' ) ; 
46+   return  canonicalUrl . replace ( urlRoot ,  'https://legacy. reactjs.org' ) ; 
4747} ; 
4848
4949const  TitleAndMetaTags  =  ( { 
@@ -57,7 +57,10 @@ const TitleAndMetaTags = ({
5757      < meta  property = "og:title"  content = { title }  /> 
5858      < meta  property = "og:type"  content = { ogType }  /> 
5959      { 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+       /> 
6164      < meta 
6265        property = "og:description" 
6366        content = { ogDescription  ||  defaultDescription } 
Original file line number Diff line number Diff line change 77
88// NOTE: We can't just use `location.toString()` because when we are rendering 
99// 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' ; 
1111const  version  =  '18.2.0' ; 
1212const  babelURL  =  'https://unpkg.com/[email protected] /babel.min.js' ; 1313
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments