Skip to content

Commit

Permalink
Updated index.js to return a numerical timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrettgaither committed Apr 18, 2024
1 parent e02576c commit 8ce7ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ app.get('/', (req, res) => {

const data = {
message: 'My name is Jarrett Gaither',
timestamp: new Date().toISOString()
timestamp: Date.now()
};
res.json(data);

Expand Down

0 comments on commit 8ce7ab0

Please sign in to comment.