While following a tutorial they came onto this little piece of code.
mongodb = process.env.MONGODB_URI || ‘mongodb://localhost:27017’;
Only problem is it won’t connect when I put that code in. I know cloud9 isn’t localhost but what would you put in that spot? I tried putting the project url in preview but that didn’t connect as well.