Skip to content

Commit

Permalink
fix: add full image path for og image
Browse files Browse the repository at this point in the history
  • Loading branch information
jandiralceu committed Sep 15, 2024
1 parent 8c75c3d commit f60409d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const Head: HeadFC = () => {
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="og:url" content={siteUrl} />
<meta property="og:image" content={file.publicURL} />
<meta property="og:image" content={`${siteUrl + file.publicURL}`} />
<meta property="og:image:width" content="2116" />
<meta property="og:image:height" content="2646" />
<meta property="og:image:type" content="image/jpeg" />
Expand All @@ -73,7 +73,7 @@ export const Head: HeadFC = () => {
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content={title} />
<meta name="twitter:description" content={description} />
<meta name="twitter:image" content={file.publicURL} />
<meta name="twitter:image" content={`${siteUrl + file.publicURL}`} />
</>
);
};

0 comments on commit f60409d

Please sign in to comment.