sudipt1999 / Weather-report-app

A weather forecast app that provides weather info about any place on earth
https://weather-app-sudipt1999.herokuapp.com/
1 stars 7 forks source link

API Key is currently hardcoded into the geocode search #7

Open pantsesquire opened 5 years ago

pantsesquire commented 5 years ago

The secret.js file does not populate the Mapbox API key, it is currently hardcoded

pantsesquire commented 5 years ago

Looking into this along with #8

pantsesquire commented 5 years ago

11

tsturtz commented 5 years ago

You should use environment variables instead (with dotenv) locally and then you can plug them in your heroku deployment configs or wherever else the app is deployed.