We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60ac8ed commit 7de5ba4Copy full SHA for 7de5ba4
app/layout.tsx
@@ -14,15 +14,10 @@ const geistMono = Geist_Mono({
14
subsets: ["latin"],
15
});
16
17
-// Ensure NEXT_PUBLIC_BASE_URL is set
18
-if (!process.env.NEXT_PUBLIC_BASE_URL) {
19
- throw new Error('NEXT_PUBLIC_BASE_URL environment variable is not set');
20
-}
21
-
22
export const metadata: Metadata = {
23
title: "Decision Copilot",
24
description: "Helping teams make great decisions together",
25
- metadataBase: new URL(process.env.NEXT_PUBLIC_BASE_URL),
+ metadataBase: new URL(process.env.NEXT_PUBLIC_BASE_URL || 'http://localhost:3000'),
26
authors: [{ name: 'David Laing' }],
27
openGraph: {
28
title: 'Decision Copilot',
0 commit comments