Skip to content

Commit 9640af9

Browse files
committed
Remove the starting slash from the image
1 parent fbdc9f8 commit 9640af9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/Meta/OtherMeta.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ export const OtherMeta: React.FunctionComponent<IOtherMetaProps> = ({ image, typ
2121
<meta property="twitter:url" content={`${publicUrl()}${router?.asPath || ""}`} />
2222
<meta property="og:url" content={`${publicUrl()}${router?.asPath || ""}`} />
2323

24-
<meta property="og:image" content={`${publicUrl()}/${image}`} />
25-
<meta property="twitter:image" content={`${publicUrl()}/${image}`} />
24+
<meta property="og:image" content={`${publicUrl()}${image}`} />
25+
<meta property="twitter:image" content={`${publicUrl()}${image}`} />
2626

2727
<meta property="og:type" content="website" />
2828
<meta property="twitter:domain" content="beta.frontmatter.codes" />

0 commit comments

Comments
 (0)