mirror of
https://github.com/lovasoa/whitebophir
synced 2024-11-14 16:27:13 +00:00
Log time on new requests
This commit is contained in:
parent
03ca44da29
commit
04f6e2d790
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
}));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue