Revert "Add missing admin action files and navigation links"

This reverts commit 41be6835bf.
This commit is contained in:
Simo committed 2026-07-11 20:37:56 +02:00
1 parent 4a1e1115b3
commit 4d515bc400
338 files changed
+5949 -28144

No files matched your search

+7 -6
View File
@@ -12,7 +12,9 @@ export const dynamic = "force-dynamic";
* about reachability.
*/
export async function GET() {
const database = await prisma.$queryRaw`SELECT 1`.then(() => true).catch(() => false);
const database = await prisma
.$queryRaw`SELECT 1`.then(() => true)
.catch(() => false);
const emulator = await rcon.send("ping", null).catch(() => false);
@@ -23,12 +25,11 @@ export async function GET() {
host: env.SMTP_HOST,
port: env.SMTP_PORT,
secure: env.SMTP_SECURE,
auth: env.SMTP_USER ? { user: env.SMTP_USER, pass: env.SMTP_PASSWORD ?? "" } : undefined,
auth: env.SMTP_USER
? { user: env.SMTP_USER, pass: env.SMTP_PASSWORD ?? "" }
: undefined,
});
smtp = await test
.verify()
.then(() => true)
.catch(() => false);
smtp = await test.verify().then(() => true).catch(() => false);
}
return apiJson({