Subs form (wip)

This commit is contained in:
vjrj 2017-12-06 11:04:34 +01:00
parent 3d86418d22
commit df96b6e51e
14 changed files with 530 additions and 75 deletions

View file

@ -40,4 +40,11 @@ Meteor.methods({
})
return promise.await();
},
getMapKey: function () {
// http://meteorpedia.com/read/Environment_Variables
// https://developers.google.com/maps/documentation/javascript/get-api-key
// https://console.developers.google.com/
// export GMAPS_KEY=SomeGMapsKey
return process.env.GMAPS_KEY || Meteor.settings.gmaps.key;;
},
});