redpandabytes / skyscanner_concerts

See your favourite artists all around the world, for the best price possible
1 stars 2 forks source link

API key exposed #1

Open CarlMungazi opened 7 years ago

CarlMungazi commented 7 years ago

Hey...not sure if you meant to expose your SkyScanner API key in the https://github.com/nattyxd/skyscanner_concerts/blob/master/config/cons.js file?

hashhar commented 7 years ago

@nattyxd I think you should check this out for dealing with such things. https://github.com/StackExchange/blackbox

You can extract the below section into a separate file called API_KEYS which can then be managed by blackbox (the project I linked to above).

exports.API_KEY_SKYSCANNER = "value";
exports.API_KEY_PUSHER = "value";

Try this to learn how to get it set up.