diff --git a/packages/service-frontend/app/layout.tsx b/packages/service-frontend/app/layout.tsx index 5927dab..f126b76 100644 --- a/packages/service-frontend/app/layout.tsx +++ b/packages/service-frontend/app/layout.tsx @@ -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', }, diff --git a/packages/service-frontend/app/twitter-image.png b/packages/service-frontend/public/twitter-image.png similarity index 100% rename from packages/service-frontend/app/twitter-image.png rename to packages/service-frontend/public/twitter-image.png