Skip to content

Commit

Permalink
fix crash when cloning locally (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
dferber90 committed Apr 6, 2024
1 parent fa9f094 commit 79ee9e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ import { Header } from '@/components/header'
import { Toaster } from '@/components/ui/sonner'

export const metadata = {
metadataBase: new URL(`https://${process.env.VERCEL_URL}`),
metadataBase: process.env.VERCEL_URL
? new URL(`https://${process.env.VERCEL_URL}`)
: undefined,
title: {
default: 'Next.js AI Chatbot',
template: `%s - Next.js AI Chatbot`
Expand Down

0 comments on commit 79ee9e4

Please sign in to comment.