allow GOOGLE_API_KEY to be set in environment

This commit is contained in:
Zeke Sikelianos 2016-09-20 12:01:59 -07:00
parent dee383db07
commit fa2aaa48b1
3 changed files with 11 additions and 8 deletions

View file

@ -5,6 +5,11 @@
#ifndef ATOM_COMMON_GOOGLE_API_KEY_H_
#define ATOM_COMMON_GOOGLE_API_KEY_H_
#ifndef GOOGLEAPIS_ENDPOINT
#define GOOGLEAPIS_ENDPOINT \
"https://www.googleapis.com/geolocation/v1/geolocate?key="
#endif
#ifndef GOOGLEAPIS_API_KEY
#define GOOGLEAPIS_API_KEY "AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q"
#endif