Removed a char from log entry

This commit is contained in:
mrfry 2021-05-09 09:47:53 +02:00
parent 168a36b538
commit 6eef9fd1c0

View file

@ -134,7 +134,7 @@ function LogReq(req: Request, toFile?: boolean, statusCode?: string): void {
hostname = expandWithSpaces(hostname, 10) hostname = expandWithSpaces(hostname, 10)
} }
logEntry += dl + logHashed(hostname) + dl logEntry += logHashed(hostname) + dl
if (toFile) { if (toFile) {
logEntry += req.headers['user-agent'] + dl logEntry += req.headers['user-agent'] + dl
logEntry += req.method + dl logEntry += req.method + dl