remove whitespace at start of path
This commit is contained in:
parent
1c085b9ec5
commit
d89310bb2e
|
@ -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) => {
|
||||||
|
|
Reference in New Issue
Block a user