Skip to content

Commit 13072b1

Browse files
committed
Fix client IP
1 parent 0e0657c commit 13072b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

yametrika.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ class Counter {
285285
path: path,
286286
method: 'GET',
287287
headers: {
288-
'x-real-ip': this._request.ip,
288+
'x-forwarded-for': this._request.ip,
289289
'user-agent': this._request['user-agent']
290290
}
291291
}, function() {});

0 commit comments

Comments
 (0)