Migrate dependencies: bcrypt→@node-rs/argon2, sanitize-html→isomorphic-dompurify, remove nodemailer/next-view-transitions
Deploy / release (push) Skipped
Deploy / deploy (push) Failing after 27s

This commit is contained in:
openhands committed 2026-07-28 19:03:04 +02:00
1 parent 3827f3e686
commit a513d9b7bd
8 files changed
+564 -1132

No files matched your search

+2 -17
View File
@@ -33,22 +33,7 @@ export async function GET() {
const emulator = await rcon.send("ping", null).catch(() => false);
let smtp = null;
if (env.SMTP_HOST) {
const nodemailer = await import("nodemailer");
const test = nodemailer.createTransport({
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,
});
smtp = await test
.verify()
.then(() => true)
.catch(() => false);
}
const resendAvailable = !!env.RESEND_API_KEY;
const degraded = !database || redisOk === false;
return apiJson({
@@ -56,7 +41,7 @@ export async function GET() {
database,
redis: redisOk,
emulator,
smtp,
resend: resendAvailable,
node: process.version,
uptime: Math.round(process.uptime()),
time: new Date().toISOString(),