1
0
Fork 0

Various Fix attempts

This commit is contained in:
Neshura 2023-06-02 01:41:58 +02:00
parent 7f90fd1a80
commit 7c3ba29316
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
6 changed files with 25 additions and 5 deletions
app/api
empires
species

View file

@ -20,6 +20,7 @@ export async function GET() {
if (rows?.length) {
let empireCount: number = rows[0][1];
console.log("New Google Data loaded " + Intl.DateTimeFormat('en-UK', {hour: 'numeric', minute: 'numeric', hour12: false}).format(Date.now()));
return NextResponse.json({ empireCount });
}
else {

View file

@ -78,6 +78,7 @@ export async function GET() {
}
}
console.log("New Google Data loaded " + Intl.DateTimeFormat('en-UK', {hour: 'numeric', minute: 'numeric', hour12: false}).format(Date.now()));
return NextResponse.json({ speciesArray });
}
}