@@ -22,7 +22,7 @@ app.get("/", function (req, res) {
// your first API endpoint...
app.get("/api/whoami",(req,res)=>{
res.json({
ipaddress:req.headers.host,
ipaddress:req.ip,
language:req.headers["accept-language"],
software:req.headers["user-agent"],
});
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.