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