From b1cbd7a3fa1e325391fc630b09986d4c2c553906 Mon Sep 17 00:00:00 2001 From: Liam Date: Mon, 23 Oct 2023 07:24:21 +0100 Subject: [PATCH] thumbmail time?? --- src/app/layout.tsx | 1 + src/app/player/[id]/page.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 3bd82d7..11a7c54 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -13,6 +13,7 @@ export const metadata: Metadata = { template: ssrSettings.siteName + " - %s", default: ssrSettings.siteName, }, + metadataBase: new URL(ssrSettings.siteUrl), openGraph: { title: ssrSettings.siteName, description: "Aggregate your scores with other leaderboards together!", diff --git a/src/app/player/[id]/page.tsx b/src/app/player/[id]/page.tsx index 074b4da..e6681bf 100644 --- a/src/app/player/[id]/page.tsx +++ b/src/app/player/[id]/page.tsx @@ -27,12 +27,12 @@ export async function generateMetadata({ title: `${player.name}`, description: description, openGraph: { + type: "website", title: `${ssrSettings.siteName} - ${player.name}`, description: description, images: [ { url: player.profilePicture, - type: "article", }, ], },