sl45sms commented on issue #174:
URL: https://github.com/apache/couchdb-nano/issues/174#issuecomment-976289720


   I've solved using
   ```
   const opts = {
     url: `http://couchdb:5984`,
     
     requestDefaults: { 
       headers: {
         Authorization:"Basic " + new 
Buffer("admin:"+cdbpass).toString('base64')
       }
     }
   }
   
   const couchdb = nano(opts)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to