Fixes TypeScript errors. (#980)

This commit is contained in:
Michael Novotny
2023-04-21 12:56:16 -05:00
committed by GitHub
parent 8ff670d7d6
commit e3785d0269
2 changed files with 3 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ export const metadata = {
openGraph: {
images: [
{
url: `/api/og?title=${encodeURIComponent(process.env.SITE_NAME)}`,
url: `/api/og?title=${encodeURIComponent(process.env.SITE_NAME || '')}`,
width: 1200,
height: 630
}