mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-03-12 07:00:29 +01:00
fix(core): fixed limited ip for admin center issue
This commit is contained in:
@@ -288,3 +288,14 @@ exports.unIdle = function (req, res, next) {
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* getMyIp
|
||||
* @param req
|
||||
* @param res
|
||||
*/
|
||||
exports.getMyIp = function (req, res) {
|
||||
res.status(200).send({
|
||||
ip: req.user.curr_signed_ip
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user