Skip to content

Commit

Permalink
Deprecating credentials in url: first commit (#321)
Browse files Browse the repository at this point in the history
This is to create a PR where other changes to the docs can be added
  • Loading branch information
YakovL authored Aug 14, 2024
1 parent 1076ecc commit 8e1c24a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ To use `nano` you need to connect it to your CouchDB install, to do that:
const nano = require('nano')('http://localhost:5984');
```

> Note: The URL you supply may also contain authentication credentials e.g. `http://admin:mypassword@localhost:5984`.
> Note: Supplying authentication credentials in the URL e.g. `http://admin:mypassword@localhost:5984` is deprecated. Use `nano.auth` instead.
To create a new database:

Expand Down

0 comments on commit 8e1c24a

Please sign in to comment.