Timestamp Microservice Test Cases Issue

Facing testing issue in the first APIs and Microservices project.
Unable to pass even a single test case. Then I checked the code in the hint and paste it as it is but still the same result, all cases failed.
I’m unable to figure out what’s wrong.

Here is the link of code


Opps…Can’t include link in the topic now.

Your browser information:

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

Challenge: undefined

Link to the challenge:

Solved it. There was CORS error, that I fixed by adding middleware in index.js

Here is the code

app.use((req, res, next) => {
  res.header("Access-Control-Allow-Origin", "*");
  res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept");