Skip to content

Commit

Permalink
Removing invalid part of README
Browse files Browse the repository at this point in the history
  • Loading branch information
fishcharlie authored Nov 24, 2023
1 parent 5f045ba commit ae750a3
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,19 +119,3 @@ T.post("media", { file: fs.createReadStream("path/to/image.png") }).then((resp)
T.post("statuses", { status: "#selfie", media_ids: [id] });
});
```

---

# Advanced

You may specify an array of trusted certificate fingerprints if you want to only trust a specific set of certificates.
When an HTTP response is received, it is verified that the certificate was signed, and the peer certificate's fingerprint must be one of the values you specified. By default, the node.js trusted "root" CAs will be used.

eg.

```js
var T = new Tusk({
access_token: "...",
trusted_cert_fingerprints: ["66:EA:47:62:D9:B1:4F:1A:AE:89:5F:68:BA:6B:8E:BB:F8:1D:BF:8E"],
});
```

0 comments on commit ae750a3

Please sign in to comment.