Skip to content

Commit

Permalink
fix : og 태그 img,url 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sheepdog13 committed Mar 1, 2024
1 parent 643ff9b commit 7da3cd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion client/src/components/common/Comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ function Comment() {
inputPosition="bottom"
theme={theme}
lang="ko"
loading="lazy"
/>
</>
);
Expand Down
5 changes: 3 additions & 2 deletions client/src/components/common/MetaTag.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function MetaTag(props) {
property="og:description"
content="자바스크립트를 주로 다루는 기술 블로그입니다."
/>
<meta property="og:image" content="%PUBLIC_URL%/img/bond.webp" />
<meta property="og:image" content="/img/bond.webp" />
<meta property="og:url" content="https://sheepdog13.blog" />
</Helmet>
) : (
Expand All @@ -30,7 +30,8 @@ function MetaTag(props) {
<meta property="og:title" content={title} />
<meta property="og:site_name" content={title} />
<meta property="og:description" content={desc} />
<meta property="og:image" content={`%PUBLIC_URL%${img}`} />
<meta property="og:image" content={`${img}`} />
<meta property="og:url" content={window.location.href} />
</Helmet>
);
}
Expand Down

0 comments on commit 7da3cd1

Please sign in to comment.