app.get('/now',function(req, res, next) {
req.time = new Date().toString();
next();
}, function(req, res) {
res.json({ time: req.time });
“The /now endpoint should have mounted middleware” what I’m doing about it ???
app.get('/now',function(req, res, next) {
req.time = new Date().toString();
next();
}, function(req, res) {
res.json({ time: req.time });
“The /now endpoint should have mounted middleware” what I’m doing about it ???
The challenge might be broken. We are having issues with other challenges as well.
@cahangeorge Are you able to pass the .env challenge? I would think that should be failing for you as well, does it not?
now I understand the problem
what do i have to do about it?
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.