Challenge
In the route app.get('/now', ...) chain a middleware function and the final handler. In the middleware function you should add the current time to the request object in the req.time key. You can use new Date().toString() . In the handler, respond with a JSON object, taking the structure {time: req.time} .
The code You post here should work, but the code I see on glitch.com will not because it’s missing the correct endpoint (the ‘/now’ URL/endpoint). Could You verify that the code on Your glitch is exactly the same?
I think you’re sharing the editor code view instead of the live app, which is the required one. Try copying and pasting the live app URL into the challenge:
On the upper left corner there is a Share button (on glitch), click that.
The problem is that the pc time is wrong, compare the https://your-app-name.glitch.me/now with your pc time, and fix your pc time so its around 20seconds ±