Skip to content

Commit c888bc5

Browse files
committed
Fix og:image URL to make it absolute
1 parent 67dc794 commit c888bc5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

lib/core/Head.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ class Head extends React.Component {
3939
{this.props.config.ogImage && (
4040
<meta
4141
property="og:image"
42-
content={this.props.config.baseUrl + this.props.config.ogImage}
42+
content={
43+
this.props.config.url +
44+
this.props.config.baseUrl +
45+
this.props.config.ogImage
46+
}
4347
/>
4448
)}
4549
{this.props.redirect && (

0 commit comments

Comments
 (0)