From 5545b3f330fa8244cb6a2cc9791b3ac7f0ae2174 Mon Sep 17 00:00:00 2001 From: Tine Date: Sat, 20 Apr 2024 20:32:52 +0200 Subject: [PATCH] chore: log --- server/server.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server/server.ts b/server/server.ts index 4945a26..f3cb917 100644 --- a/server/server.ts +++ b/server/server.ts @@ -1,8 +1,12 @@ import { Hono } from "https://deno.land/x/hono@v4.2.5/mod.ts"; -import { serveStatic } from "https://deno.land/x/hono@v4.2.5/middleware.ts"; +import { + serveStatic, + logger, +} from "https://deno.land/x/hono@v4.2.5/middleware.ts"; const cache = await Deno.openKv(); const app = new Hono(); +app.use(logger()); // .well-known for matrix app.get("/.well-known/matrix/client", (c) =>