FCC:Timestamp Microservice

Everything works as expected in the local server or the remote server
But the test doesn’t get passed
I have no idea

Your project link(s)

solution: https://peaceful-beyond-61510.herokuapp.com
githubLink: https://github.com/HOuadhour/Timestamp-Microservice.git

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36.

Challenge: Timestamp Microservice

Link to the challenge:

You’re setting CORS headers after your route handler.
Easiest fix would be to move lines 10-11 from server.js to app.js (although it is not the most correct way).

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.