Comparing version 1.1.2 to 1.1.3
@@ -582,4 +582,5 @@ /* minimal couch in node | ||
if(path.pathname && !_.isEmpty(path.pathname.split('/')[1])) { | ||
var auth = path.auth ? path.auth + '@' : ''; | ||
db = path.pathname.split('/')[1]; | ||
cfg.url = path.protocol + '//' + path.host; // reset url | ||
cfg.url = path.protocol + '//' + auth + path.host; // reset url | ||
return document_module(db); | ||
@@ -586,0 +587,0 @@ } |
@@ -5,3 +5,3 @@ { "name" : "nano" | ||
, "repository" : "git://github.com/dscape/nano" | ||
, "version" : "1.1.2" | ||
, "version" : "1.1.3" | ||
, "author" : "Nuno Job <nunojobpinto@gmail.com> (http://nunojob.com)" | ||
@@ -8,0 +8,0 @@ , "contributors" : |
@@ -116,6 +116,6 @@ # nano | ||
`server.get: [db.info(callback*)]` | ||
`server.replicate: [db.replicate(target,continuous*,callback*)]` | ||
`server.compact: [db.compact(callback*), db.view.compact(design_name,callback*)]` | ||
`server.changes: [db.changes(params*,callback*)]` | ||
`server.db.get: [db.info(callback*)]` | ||
`server.db.replicate: [db.replicate(target,continuous*,callback*)]` | ||
`server.db.compact: [db.compact(callback*), db.view.compact(design_name,callback*)]` | ||
`server.db.changes: [db.changes(params*,callback*)]` | ||
`server.config: [db.config]` | ||
@@ -122,0 +122,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
112769
2492