Skip to content

Commit

Permalink
update server/src/main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianjnuwu committed Jan 13, 2025
1 parent 39b3510 commit 623f5dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ function generateCode(): string {
* Returns "pong" as the response.
*/
app.get("/ping", (req, res) => {
res.status(200).send({ message: "pong" });
res.status(200).send({
message: "pong",
date: new Date()
});
});

/**
Expand Down

0 comments on commit 623f5dd

Please sign in to comment.