coopboost icon indicating copy to clipboard operation
coopboost copied to clipboard

When deploying to Heroku with "Deply to Heroku" button, MongoLab env variable is not correctly set

Open karllhughes opened this issue 6 years ago • 0 comments

This is probably due to MongoLabDB changing the name of their connection string variable, but when I deployed to Heroku, I got a connection error. Turns out, the variable that was set was not named correctly.

They use MONGODB_URI

This app requires MONGOLAB_URI

The easy switch would be to change it in this app's config.js file, but I didn't want to suggest that as it's a breaking change, so maybe a documentation note?

Either way, happy to make a PR. Thanks!

karllhughes avatar Jul 09 '18 18:07 karllhughes