update again
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 55s

This commit is contained in:
Lee 2024-04-16 22:56:30 +01:00
parent 70a95cc6ce
commit 95737f3db5

@ -45,7 +45,8 @@ async function getData(): Promise<CachedEndpointStatus> {
export async function generateMetadata(): Promise<Metadata> { export async function generateMetadata(): Promise<Metadata> {
const { endpoints } = await getData(); const { endpoints } = await getData();
const description = Object.entries(endpoints) let description = "The current status of Mojang Services\n\n";
description += Object.entries(endpoints)
.map(([url, status]) => { .map(([url, status]) => {
return `**${url}**: ${formatStatus(status)}`; return `**${url}**: ${formatStatus(status)}`;
}) })