From dc5bc50c17306353ec5dd798201cc6fa85fd25b6 Mon Sep 17 00:00:00 2001 From: andres Date: Tue, 20 Aug 2024 19:18:50 +0200 Subject: [PATCH] add get / --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index bb3bbd4..fe06508 100644 --- a/src/index.ts +++ b/src/index.ts @@ -9,7 +9,7 @@ const app = new Elysia() .use(rateLimit({ max: 2 })) - + .get("/", () => "Hello Elysia") .post("/", async ({body}) => { const response = await fetch(url, { method: "POST",