mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-09 15:17:23 +02:00
Fix og:image URL to make it absolute
This commit is contained in:
parent
67dc79446a
commit
c888bc52b9
1 changed files with 5 additions and 1 deletions
|
@ -39,7 +39,11 @@ class Head extends React.Component {
|
|||
{this.props.config.ogImage && (
|
||||
<meta
|
||||
property="og:image"
|
||||
content={this.props.config.baseUrl + this.props.config.ogImage}
|
||||
content={
|
||||
this.props.config.url +
|
||||
this.props.config.baseUrl +
|
||||
this.props.config.ogImage
|
||||
}
|
||||
/>
|
||||
)}
|
||||
{this.props.redirect && (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue