agregando logers de env variables
All checks were successful
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 25s
build-and-deploy / deploy (push) Successful in 41s

This commit is contained in:
2025-06-06 15:11:18 -06:00
parent b751cb2911
commit 05ee5b46fc
4 changed files with 14 additions and 1 deletions

View File

@@ -9,6 +9,11 @@ import asistenciasRouter from './routes/asistencias/asistencias.js';
import tareasRouter from './routes/tareas/tareas.js';
import planillasRouter from './routes/planillas/planillas.js';
console.log( `Conectando a la base de datos: ${process.env.DATABASE_URL}`);
// Helper function for logging duration
const getDurationInMilliseconds = (start) => {
const NS_PER_SEC = 1e9;