Skip to content

Commit 0173c2d

Browse files
committed
fix: 🐛 metadataBase を指定し、OG画像のURLを正しく設定できるようにした
1 parent 724e23c commit 0173c2d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/layout.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const description =
77
const url = 'https://election-bulletin.suikoden.info/'
88

99
export const metadata = {
10+
metadataBase: new URL(process.env.URL ?? 'http://localhost:3000'),
1011
title: {
1112
default: siteName,
1213
/** `next-seo`の`titleTemplate`に相当する機能 */

0 commit comments

Comments
 (0)