este agent quedo funcionando al 100 en local al menos
This commit is contained in:
@@ -17,7 +17,7 @@ async function main() {
|
||||
app.use(express.json());
|
||||
|
||||
app.use((req, _res, next) => {
|
||||
console.log(`[HTTP] ${req.method} ${req.originalUrl}`);
|
||||
console.log(`[HTTP] ${req.method} ${req.originalUrl} ${req.statusCode} ${req.res.body}`);
|
||||
next();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user