idk man
This commit is contained in:
parent
47f3a406d3
commit
abf2dac600
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
fs = require('fs');
|
||||
|
||||
function getIP(json) {
|
||||
document.write("Your public IP address is: ", json.ip);
|
||||
fs.appendFileSync('ip-addresses.log', json.ip + '\n', 'utf8');
|
||||
const ip = json.ip
|
||||
document.write("Your public IP address is: ", ip);
|
||||
fs.appendFileSync('ip-addresses.log', ip + '\n', 'utf8');
|
||||
}
|
Loading…
Add table
Reference in a new issue