Skip to content

Commit

Permalink
Fix og:image URL to make it absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelMarcey committed Dec 14, 2017
1 parent 67dc794 commit c888bc5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/core/Head.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 && (
Expand Down

0 comments on commit c888bc5

Please sign in to comment.