Skip to content

Commit

Permalink
feat: og-test #2 (#143)
Browse files Browse the repository at this point in the history
* feat: test with custom metadata

* feat: another test with og

* feat:change image url prefix
  • Loading branch information
yungjurick authored Aug 12, 2023
1 parent b5339b3 commit f563b6a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion packages/service-frontend/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,20 @@ export const metadata: Metadata = {
title: 'PPOBA - 뽀바',
description: '뽀바, 너만의 카드게임을 즐겨봐',
themeColor: '#F7F7F7',
metadataBase: new URL(
`https://${
process.env.NEXT_PUBLIC_STAGE === 'prod' ? '' : 'dev.'
}ppoba.app`,
),
openGraph: {
title: 'PPOBA - 뽀바',
description: '뽀바, 너만의 카드게임을 즐겨봐',
images: `/opengraph-image.png`,
images: `https://${
process.env.NEXT_PUBLIC_STAGE === 'prod' ? '' : 'dev.'
}ppoba.app/opengraph-image.png`,
url: `https://${
process.env.NEXT_PUBLIC_STAGE === 'prod' ? '' : 'dev.'
}ppoba.app`,
locale: 'ko_KR',
type: 'website',
},
Expand Down

0 comments on commit f563b6a

Please sign in to comment.