This commit is contained in:
parent
f480b0ccc8
commit
7732ae6e25
@ -49,7 +49,7 @@ export async function generateMetadata(): Promise<Metadata> {
|
|||||||
let description = "The current status of Mojang Services\n\n";
|
let description = "The current status of Mojang Services\n\n";
|
||||||
description += Object.entries(endpoints)
|
description += Object.entries(endpoints)
|
||||||
.map(([url, status]) => {
|
.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}`;
|
return `${url}: ${formattedStatus}`;
|
||||||
})
|
})
|
||||||
.join("\n");
|
.join("\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user