fix crash when cloning locally (#303)

This commit is contained in:
Dominik Ferber 2024-04-06 20:19:32 +03:00 committed by GitHub
parent fa9f0947f0
commit 79ee9e4577
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,7 +9,9 @@ import { Header } from '@/components/header'
import { Toaster } from '@/components/ui/sonner' import { Toaster } from '@/components/ui/sonner'
export const metadata = { 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: { title: {
default: 'Next.js AI Chatbot', default: 'Next.js AI Chatbot',
template: `%s - Next.js AI Chatbot` template: `%s - Next.js AI Chatbot`