chutterbox / chutter

https://chutter.co
MIT License
12 stars 4 forks source link

Use ENV for base API url #20

Open mentos1386 opened 9 years ago

mentos1386 commented 9 years ago

We should use ENV insted string to split local/production/live base api url. So that in the future when things go live, someone dosnt mess up with live db insted of dummy dev db. Or as it has happend now, that in the commit is localhost:3000 insted of proper url http://chutter-api.elasticbeanstalk.com/.

https://github.com/chutterbox/chutter/blob/master/_app/js/chutter.coffee#L21

Quick googleing got me this

chutterbox commented 9 years ago

+1