I've deployed an app to heroku and I want to make this app recognize platform information by itself. That is,
var dburi = '';
if( is_heroku )
dburi = process.env.MONGOLAB_URI;
else
dburi = 'mongodb://xxx';
Is there a way to get recognition (flag?) "is_heroku"?
Thanks!