summaryrefslogtreecommitdiff
path: root/modules/ip/ip.js
blob: 49de2578e540a0a9d8c19480804cb5d568d48be3 (plain)
1
2
3
4
5
6
7
8
var cmn=require("../$common.js"),
    fs=require("fs");

module.exports=function(app,io,moddir){
	app.get("/ip",function(req,res){
		res.send(req.ip);
	});
};