From 0f87f6b5d8d067ff9427c0a68912e13d790e3d66 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 15 May 2024 09:56:48 +0200 Subject: [PATCH] Update index.ts --- bun/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bun/index.ts b/bun/index.ts index 6a081c8..e333944 100644 --- a/bun/index.ts +++ b/bun/index.ts @@ -5,7 +5,8 @@ Bun.serve({ const url = new URL(req.url); if (url.pathname === "/") return new Response("Home page!"); if (url.pathname === "/blog") return new Response("Blog!"); + if (url.pathname === "/about") return new Response("About!"); return new Response("404!"); }, }) -console.log(`Server running at http://localhost:${PORT}`); \ No newline at end of file +console.log(`Server running at http://localhost:${PORT}`);