Skip to content

Commit

Permalink
fix: use production url on metadata images
Browse files Browse the repository at this point in the history
  • Loading branch information
diego3g committed Apr 11, 2024
1 parent 2937983 commit 95d2b2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/web/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import './globals.css'

import { env } from '@nivo/env'
import type { Metadata } from 'next'
import { Inter } from 'next/font/google'
import { ReactNode } from 'react'
Expand All @@ -11,6 +12,7 @@ import { Providers } from './providers'
const inter = Inter({ subsets: ['latin'], variable: '--font-sans' })

export const metadata: Metadata = {
metadataBase: new URL(env.NEXT_PUBLIC_VERCEL_URL),
title: {
template: '%s | Nivo',
absolute: 'Nivo',
Expand Down
Binary file removed apps/web/src/app/opengraph-image.png
Binary file not shown.

0 comments on commit 95d2b2f

Please sign in to comment.