Skip to content

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

@karllhughes

Description

@karllhughes

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions