Skip to content

Commit 778ee53

Browse files
Copilotaviadhahami
andcommitted
docs: note trailing slash handling in README
Closes #175 Co-authored-by: aviadhahami <7353632+aviadhahami@users.noreply.github.com> Agent-Logs-Url: https://github.com/nodevault/node-vault/sessions/c1ac458b-4e57-4624-90ae-2d76913d4139
1 parent db070ce commit 778ee53

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ const vault = require('node-vault')({
4848
});
4949
```
5050

51+
> **Note:** Trailing slashes in the `endpoint` URL (e.g. `http://127.0.0.1:8200/`) are automatically stripped to prevent malformed request URIs.
52+
5153
### Environment Variables
5254

5355
The client reads the following environment variables as defaults:

0 commit comments

Comments
 (0)