remove whitespace at start of path

This commit is contained in:
HorizonCode 2023-05-12 13:09:23 +02:00
parent 1c085b9ec5
commit d89310bb2e

View File

@ -23,7 +23,7 @@ httpServer.preprocessor((_req, rep) => {
httpServer.middleware(async (req, _rep, done) => { httpServer.middleware(async (req, _rep, done) => {
const processTime = await 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) => { httpServer.error((req, _rep) => {