Skip to content

Commit

Permalink
fix: 🐛 metadataBase を指定し、OG画像のURLを正しく設定できるようにした (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikukyugamer authored Jul 1, 2023
1 parent 724e23c commit 98bd577
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const description =
const url = 'https://election-bulletin.suikoden.info/'

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

0 comments on commit 98bd577

Please sign in to comment.