Skip to content

Commit

Permalink
Added base endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
monzanifabio committed Jul 27, 2023
1 parent 5914fa8 commit 9c375aa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ const headers = {
apikey: apikey,
};

// Base endpoint
app.get("/", (req, res) => {
res.json("Hellooo!");
});

// Simple ping endpoint
app.get("/ping", (req, res) => {
res.json("Cryptofonts to the moon!");
Expand Down

0 comments on commit 9c375aa

Please sign in to comment.