Updates to insights, event data, telemetry.
This commit is contained in:
1 parent
39562d4a64
commit
e4bd314bd6
44 files changed
+413
-278
No files matched your search
+2
-2
@@ -1,5 +1,5 @@
|
||||
import path from 'path';
|
||||
import requestIp from 'request-ip';
|
||||
import { getClientIp } from 'request-ip';
|
||||
import { browserName, detectOS } from 'detect-browser';
|
||||
import isLocalhost from 'is-localhost-ip';
|
||||
import maxmind from 'maxmind';
|
||||
@@ -25,7 +25,7 @@ export function getIpAddress(req) {
|
||||
return req.headers['cf-connecting-ip'];
|
||||
}
|
||||
|
||||
return requestIp.getClientIp(req);
|
||||
return getClientIp(req);
|
||||
}
|
||||
|
||||
export function getDevice(screen, os) {
|
||||
|
||||
Reference in new issue
Block a user