remove slow

This commit is contained in:
slynn1324 2021-01-22 17:59:23 -06:00
parent 98197c98ea
commit d96422afea

View file

@ -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"};