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

This commit is contained in:
Lee 2024-04-16 23:01:07 +01:00
parent f480b0ccc8
commit 7732ae6e25

View File

@ -49,7 +49,7 @@ export async function generateMetadata(): Promise<Metadata> {
let description = "The current status of Mojang Services\n\n";
description += Object.entries(endpoints)
.map(([url, status]) => {
const formattedStatus = formatStatus(status).padEnd(maxStatusLength, " "); // Pad the status to ensure uniform width
const formattedStatus = formatStatus(status).padStart(maxStatusLength, " "); // Pad the status to ensure uniform width
return `${url}: ${formattedStatus}`;
})
.join("\n");