diff --git a/src/app/(pages)/mojang/page.tsx b/src/app/(pages)/mojang/page.tsx index 48ea045..5eb88ba 100644 --- a/src/app/(pages)/mojang/page.tsx +++ b/src/app/(pages)/mojang/page.tsx @@ -49,8 +49,9 @@ export async function generateMetadata(): Promise { let description = "The current status of Mojang Services\n\n"; description += Object.entries(endpoints) .map(([url, status]) => { - const formattedStatus = formatStatus(status).padStart(maxStatusLength, " "); // Pad the status to ensure uniform width - return `${url}: ${formattedStatus}`; + const formattedStatus = formatStatus(status); + const padding = " ".repeat(maxStatusLength - formattedStatus.length); // Create padding based on the difference in length + return `${url}: ${padding}${formattedStatus}`; }) .join("\n");