mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 22:20:55 +03:00
added agent to server metrics (#1321)
This commit is contained in:
committed by
Donovan Preston
parent
19ac0480ee
commit
f603f40f43
@@ -114,7 +114,8 @@ module.exports = function(ws, req) {
|
||||
dlimit,
|
||||
timeLimit,
|
||||
anonymous: !user,
|
||||
size: limiter.length
|
||||
size: limiter.length,
|
||||
agent: req.ua.browser.name || req.ua.ua.substring(0, 6)
|
||||
});
|
||||
}
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user