Skip to content

Commit

Permalink
fix: change variable name for pulicURL
Browse files Browse the repository at this point in the history
  • Loading branch information
jandiralceu committed Sep 15, 2024
1 parent 7058bef commit 2d635ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Subscribe from "../components/Subscribe";

interface IHomeMetadata extends ISiteMetadata {
readonly file: {
publicUrl: string;
publicURL: string;
};
}

Expand Down Expand Up @@ -64,7 +64,7 @@ export const Head: HeadFC = () => {
<meta property="og:description" content={site.siteMetadata.description} />
<meta
property="og:image"
content={`${site.siteMetadata.siteUrl}/${file.publicUrl}`}
content={`${site.siteMetadata.siteUrl}/${file.publicURL}`}
/>
<meta property="og:url" content={site.siteMetadata.siteUrl} />

Expand All @@ -77,7 +77,7 @@ export const Head: HeadFC = () => {
/>
<meta
name="twitter:image"
content={`${site.siteMetadata.siteUrl}/${file.publicUrl}`}
content={`${site.siteMetadata.siteUrl}/${file.publicURL}`}
/>
</>
);
Expand Down

0 comments on commit 2d635ac

Please sign in to comment.