I have this code in the same Repl.it, and it works just fine. I’m wondering why I don’t need to call the next() function after the res.send({“time”: req.time}) line? Wouldn’t I have to to not leave the middleware hanging?
Photo
Thank you.
I have this code in the same Repl.it, and it works just fine. I’m wondering why I don’t need to call the next() function after the res.send({“time”: req.time}) line? Wouldn’t I have to to not leave the middleware hanging?
Photo
Thank you.