From 6e61fa4aa428d11524d8bd4421c93a2c38f5d7ed Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 17 Apr 2024 17:28:07 +0100 Subject: [PATCH] use user provided hostname as title --- src/app/(pages)/server/[platform]/[[...hostname]]/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/(pages)/server/[platform]/[[...hostname]]/page.tsx b/src/app/(pages)/server/[platform]/[[...hostname]]/page.tsx index 974c712..a1a3bb7 100644 --- a/src/app/(pages)/server/[platform]/[[...hostname]]/page.tsx +++ b/src/app/(pages)/server/[platform]/[[...hostname]]/page.tsx @@ -71,7 +71,7 @@ export async function generateMetadata({ params: { platform, hostname } }: Param const description = `Hostname: ${serverHostname}\n${players.online}/${players.max} players online\n\nClick to view more information about the player.`; return generateEmbed({ - title: `${serverHostname}`, + title: `${hostname}`, description: description, image: favicon, });