default user agent when null
This commit is contained in:
parent
eb381f3417
commit
01f0a5b22c
1 changed files with 1 additions and 1 deletions
|
|
@ -358,7 +358,7 @@ function setup(req, res, next) {
|
||||||
req.url,
|
req.url,
|
||||||
req.socket.remoteAddress,
|
req.socket.remoteAddress,
|
||||||
req.headers['origin'] || '',
|
req.headers['origin'] || '',
|
||||||
req.headers['user-agent']
|
req.headers['user-agent'] || ''
|
||||||
// m: req.method,
|
// m: req.method,
|
||||||
// u: req.url,
|
// u: req.url,
|
||||||
// i: ipaddr,
|
// i: ipaddr,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue