Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #832 from carols10cents/mongo-addon

Switch to the mongolab heroku addon
  • Loading branch information...
commit 1fc69199f3482f35b651db7df55dfe40e2cbeb0b 2 parents ebb0274 + 4a64d57
@wilkie wilkie authored
Showing with 2 additions and 3 deletions.
  1. +1 −1  app.json
  2. +1 −2  config/mongo.yml
View
2  app.json
@@ -20,7 +20,7 @@
}
},
"addons": [
- "mongohq:sandbox",
+ "mongolab:sandbox",
"mandrill:starter"
]
}
View
3  config/mongo.yml
@@ -13,6 +13,5 @@ test:
# set these environment variables on your prod server
production:
<<: *defaults
- database: <%= ENV['MONGOHQ_DATABASE'] %>
- uri: <%= ENV['MONGOHQ_URL'] %>
+ uri: <%= ENV['MONGOHQ_URL'] || ENV['MONGOLAB_URI'] || ENV['MONGOSOUP_URL'] || ENV['MONGO_URL'] %>
Please sign in to comment.
Something went wrong with that request. Please try again.