diff --git a/server.js b/server.js index 03ac3ff..81fa1bd 100644 --- a/server.js +++ b/server.js @@ -20,12 +20,12 @@ app.use(bodyParser.json()); app.set('json spaces', 2); // emulate slow down -app.use( (req,res,next) => { - console.log("slow..."); - setTimeout(() => { - next(); - }, 2000); -}); +// app.use( (req,res,next) => { +// console.log("slow..."); +// setTimeout(() => { +// next(); +// }, 2000); +// }); const OK = {status: "ok"}; const NOT_FOUND = {status: "error", error: "not found"};