diff --git a/.gitignore b/.gitignore index f69d3d2..1d3926d 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,6 @@ dist.zip # Ignore installed node modules node_modules/ + +# Ignore the apiKeys.js file +src/js/apiKeys.js diff --git a/src/js/location.js b/src/js/location.js index a727c06..0e145b4 100644 --- a/src/js/location.js +++ b/src/js/location.js @@ -1,6 +1,6 @@ // Api keys -var hereAppId = 'O9qHlTv2c773rK1cC7Iw'; -var hereAppCode = 'vjQQRbJewPVjPhPuNZOclQ'; +var hereAppId = require('./apiKeys.js').hereAppId; +var hereAppCode = require('./apiKeys.js').hereAppCode; // Make a http request and return the recived json to the callback (callback params: success / json)