mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 21:09:18 +08:00
more compact log
This commit is contained in:
parent
0fb3e2ae04
commit
fb64ad62fa
1 changed files with 8 additions and 2 deletions
|
@ -121,8 +121,14 @@ class UserController {
|
|||
req.headers["x-forwarded-for"] ||
|
||||
req.ip ||
|
||||
"255.255.255.255",
|
||||
os: agent.os.name + " " + agent.os.version,
|
||||
browser: agent.browser.name + " " + agent.browser.version,
|
||||
agent:
|
||||
agent.os.name +
|
||||
" " +
|
||||
agent.os.version +
|
||||
" " +
|
||||
agent.browser.name +
|
||||
" " +
|
||||
agent.browser.version,
|
||||
};
|
||||
if (agent.device.vendor) {
|
||||
logobj.device =
|
||||
|
|
Loading…
Reference in a new issue