From 9c375aa888480b15e761649ce2c9bdfd95bb872e Mon Sep 17 00:00:00 2001 From: monzanifabio Date: Fri, 28 Jul 2023 00:02:39 +0100 Subject: [PATCH] Added base endpoint --- index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.js b/index.js index a9af67a..eae8f7e 100644 --- a/index.js +++ b/index.js @@ -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!");