Log time on new requests

This commit is contained in:
Ophir LOJKINE 2018-11-29 14:24:20 +01:00
parent 03ca44da29
commit 04f6e2d790

View file

@ -46,7 +46,8 @@ function logRequest(request) {
original_ip: request.headers['x-forwarded-for'] || request.headers['forwarded'],
user_agent: request.headers['user-agent'],
referer: request.headers['referer'],
url: request.url
url: request.url,
time: Date.now()
}));
}