mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-02-05 22:19:26 +01:00
feat(core): add Cloudflare support
This commit is contained in:
@@ -107,7 +107,7 @@ exports.signup = function (req, res) {
|
||||
traceLogCreate(req, traceConfig.action.userSignUp, {
|
||||
user: user._id,
|
||||
inviteToken: req.body.inviteToken || null,
|
||||
ip: req.headers['x-forwarded-for'] || req.connection.remoteAddress
|
||||
ip: req.cf_ip
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user