fix: tolerate empty NEXT_PUBLIC_APP_URL during production build

This commit is contained in:
Leon Serfaty
2026-06-08 04:46:58 -04:00
parent 305278a846
commit 3ad90f076f
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export const metadata: Metadata = {
},
description:
"PodcastYes is an all-in-one AI platform that writes your script, records realistic multi-voice audio, and designs cover art — turning a topic into a finished episode in minutes.",
metadataBase: new URL(process.env.NEXT_PUBLIC_APP_URL ?? "http://localhost:3000"),
metadataBase: new URL(process.env.NEXT_PUBLIC_APP_URL || "http://localhost:3000"),
openGraph: {
title: "PodcastYes",
description: "Create scripted, narrated, illustrated podcasts with AI — no recording gear required.",