Bring back NEXT_PUBLIC_BASE_URL (continued)

This commit is contained in:
Sebastien Castiel
2024-01-19 12:49:22 -05:00
parent c138afadb9
commit 1b1ebf015e

View File

@@ -3,12 +3,14 @@ import { ThemeProvider } from '@/components/theme-provider'
import { ThemeToggle } from '@/components/theme-toggle' import { ThemeToggle } from '@/components/theme-toggle'
import { Button } from '@/components/ui/button' import { Button } from '@/components/ui/button'
import { Toaster } from '@/components/ui/toaster' import { Toaster } from '@/components/ui/toaster'
import { env } from '@/lib/env'
import type { Metadata, Viewport } from 'next' import type { Metadata, Viewport } from 'next'
import Image from 'next/image' import Image from 'next/image'
import Link from 'next/link' import Link from 'next/link'
import './globals.css' import './globals.css'
export const metadata: Metadata = { export const metadata: Metadata = {
metadataBase: new URL(env.NEXT_PUBLIC_BASE_URL),
title: { title: {
default: 'Spliit · Share Expenses with Friends & Family', default: 'Spliit · Share Expenses with Friends & Family',
template: '%s · Spliit', template: '%s · Spliit',