Mon 21 Jul 22:43:21 CEST 2025
This commit is contained in:
parent
7eec38e941
commit
3d9ecd1714
13
js/geoip/geocomp.js
Normal file
13
js/geoip/geocomp.js
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
|
||||||
|
var geo = Require('geoip/geoip');
|
||||||
|
if (0) geo.init (function () {
|
||||||
|
console.log('ready');
|
||||||
|
//geo.save();
|
||||||
|
console.log(geo.lookup('134.102.219.4'));
|
||||||
|
});
|
||||||
|
|
||||||
|
else geo.load (function () {
|
||||||
|
console.log('ready');
|
||||||
|
// geo.save();
|
||||||
|
console.log(geo.lookup('134.102.20.20'));
|
||||||
|
});
|
Loading…
Reference in New Issue
Block a user