Basic Node and Express - Chain Middleware to Create a Time Server

Tell us what’s happening:
Describe your issue in detail here.

Your project link(s)

solution: boilerplate-express (1) - Replit

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

Challenge: Basic Node and Express - Chain Middleware to Create a Time Server

Link to the challenge:

I am getting this error : Failed:The /now endpoint should have mounted middleware

Well, I am doing everything correctly as I have added the middleware in app.get /now route but something is not working

I’ve forked your replit and moved added code from /server.js to myApp.js. Test started passing. Don’t change anything in /server.js file, put all your work in myApp.js file.