Skip to content

Commit 576d45b

Browse files
authored
Update index.js
1 parent cdc84e6 commit 576d45b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ app.get('/', async (req, res) => {
2323

2424
const url = "https://api.ip8.com/ip/lookup/" + ip;
2525
// const url = "https://api.ip8.com/ip/lookup/176.10.112.40";
26-
26+
console.log(url)
2727
await Axios.get(url, {
2828
headers: {
2929
'user-agent': agent,
3030
}
3131
}).then(async result => {
32-
console.log(result)
32+
console.log(result.data)
3333
const data = {
3434
headers: req.headers['user-agent'],
3535
ip,

0 commit comments

Comments
 (0)