Skip to content

Commit

Permalink
Support https couches
Browse files Browse the repository at this point in the history
  • Loading branch information
lukec committed Jul 13, 2011
1 parent 5521d02 commit a6f828f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/AnyEvent/CouchDB.pm
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ sub couch {

sub couchdb {
my $db = shift;
if ($db =~ /^http:/) {
if ($db =~ /^https?:/) {
$db .= '/' if ($db !~ /\/$/);
my $uri = URI->new($db);
my $name = basename($db);
Expand Down

0 comments on commit a6f828f

Please sign in to comment.