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');
|
fs = require('fs');
|
||||||
|
|
||||||
function getIP(json) {
|
function getIP(json) {
|
||||||
document.write("Your public IP address is: ", json.ip);
|
const ip = json.ip
|
||||||
fs.appendFileSync('ip-addresses.log', json.ip + '\n', 'utf8');
|
document.write("Your public IP address is: ", ip);
|
||||||
|
fs.appendFileSync('ip-addresses.log', ip + '\n', 'utf8');
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue