diff --git a/src/index.tsx b/src/index.tsx index 19ad78e..1e4122a 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -4,6 +4,9 @@ import { Index } from "./frontend/index"; const app = new Elysia() .use(html()) + .onRequest(({ request }) => { + console.log(`Request ${request.method} ${request.url}`); + }) .get("/", () => Index()) .get('/htmx.min.js', () => Bun.file("./src/frontend/htmx.min.js")) .get("/content/post", () => "I'm from the server")