Moved api keys

* Moved the api keys for the here api to a separate file that is
ignored in the git
This commit is contained in:
dyedgreen
2016-08-19 19:46:51 +02:00
parent 5f66165cb4
commit b4a22574d8
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -8,3 +8,6 @@ dist.zip
# Ignore installed node modules
node_modules/
# Ignore the apiKeys.js file
src/js/apiKeys.js
+2 -2
View File
@@ -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)