From f9d57f16bfa83ea4c003a55b8e1219870943921b Mon Sep 17 00:00:00 2001 From: GNRSN <9020004+GNRSN@users.noreply.github.com> Date: Tue, 2 Jul 2024 08:24:12 +0200 Subject: [PATCH] ensure metadata are valid urls --- apps/nextjs/src/app/layout.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/nextjs/src/app/layout.tsx b/apps/nextjs/src/app/layout.tsx index d959d48..f518a79 100644 --- a/apps/nextjs/src/app/layout.tsx +++ b/apps/nextjs/src/app/layout.tsx @@ -12,7 +12,8 @@ import "~/app/globals.css"; import { env } from "~/env"; -const PRODUCTION_DOMAINE = "shared-expensesnext-js-gnrsns-projects.vercel.app"; +const PRODUCTION_DOMAINE = + "https://shared-expensesnext-js-gnrsns-projects.vercel.app"; export const metadata: Metadata = { metadataBase: new URL( @@ -25,7 +26,7 @@ export const metadata: Metadata = { openGraph: { title: "Shared expenses", description: "", - url: "https://" + PRODUCTION_DOMAINE, + url: PRODUCTION_DOMAINE, siteName: "Shared expenses", }, };