Refactorization
This commit is contained in:
parent
df96b6e51e
commit
b40309e80b
4 changed files with 173 additions and 120 deletions
|
|
@ -20,7 +20,7 @@ Meteor.methods({
|
|||
if (isPrivateIP(clientIP)) {
|
||||
clientIP = '80.58.61.250' // Some Spain IP address
|
||||
}
|
||||
console.log(`Geolocating ${clientIP}`);
|
||||
// console.log(`Geolocating ${clientIP}`);
|
||||
|
||||
// https://developers.google.com/web/fundamentals/primers/promises
|
||||
var promise = new Promise(function(resolve, reject) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue