use user provided hostname as title
Some checks failed
Deploy App / docker (ubuntu-latest) (push) Has been cancelled

This commit is contained in:
Lee 2024-04-17 17:28:07 +01:00
parent 6d3663ccb9
commit 6e61fa4aa4

@ -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,
});