From 1bed1f20401cc38e8fbfd7cca51836fbccb8edb4 Mon Sep 17 00:00:00 2001 From: Mike Johnston Date: Mon, 4 May 2026 01:20:57 -0400 Subject: [PATCH] Add metadataBase to Open Graph API for dynamic URL handling --- src/app/layout.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index a69d160..9ba9f15 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -7,6 +7,7 @@ import { Navbar } from '@/components/Navbar' const inter = Inter({ subsets: ['latin'] }) export const metadata: Metadata = { + metadataBase: new URL(process.env.NEXTAUTH_URL ?? 'http://localhost:3000'), title: 'HashEx — The Hashtag Exchange', description: 'Trade hashtags like stocks. Prices driven by real Mastodon activity.', }