From d89310bb2e9a167f622456fb0cc070aa83fe12b8 Mon Sep 17 00:00:00 2001 From: HorizonCode Date: Fri, 12 May 2023 13:09:23 +0200 Subject: [PATCH] remove whitespace at start of path --- example/test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/test.ts b/example/test.ts index 8dad9a1..196ac58 100644 --- a/example/test.ts +++ b/example/test.ts @@ -23,7 +23,7 @@ httpServer.preprocessor((_req, rep) => { httpServer.middleware(async (req, _rep, done) => { const processTime = await done(); - console.log(`${req.method} - ${req.remoteIpAddr} - ${req.path} - ${prettyTime(processTime)}`); + console.log(`${req.method} - ${req.remoteIpAddr} - ${req.path} - ${prettyTime(processTime)}`); }); httpServer.error((req, _rep) => {