Permalink
Browse files

fixed mongohq gsub pattern to work for public hostnames

  • Loading branch information...
1 parent edbbf13 commit eb0dc66bd5d012735dc2b55f0488aff648ac79f9 @benwyrosdick benwyrosdick committed Apr 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/heroku/command/mongo.rb
@@ -51,7 +51,7 @@ def local_mongo_uri
end
def make_uri(url)
- url.gsub!('aws.mongohq.com', 'genesis.mongohq.com')
+ url.gsub!('local.mongohq.com', 'mongohq.com')
uri = URI.parse(url)
raise URI::InvalidURIError unless uri.host
uri

0 comments on commit eb0dc66

Please sign in to comment.