fix crash when cloning locally (#303)
This commit is contained in:
parent
fa9f0947f0
commit
79ee9e4577
1 changed files with 3 additions and 1 deletions
|
|
@ -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`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue