diff options
author | 2023-09-07 10:09:09 -0700 | |
---|---|---|
committer | 2023-09-07 10:09:09 -0700 | |
commit | 5424ea3403df9cd4672290865f12b6f5b01cf2d0 (patch) | |
tree | 27e19a70fba49ffdd944c190163f5e8322d7a32f /docs/api/tcp.md | |
parent | 4b63ced72dc1b304e737d9ea055c8b6e75f46119 (diff) | |
download | bun-5424ea3403df9cd4672290865f12b6f5b01cf2d0.tar.gz bun-5424ea3403df9cd4672290865f12b6f5b01cf2d0.tar.zst bun-5424ea3403df9cd4672290865f12b6f5b01cf2d0.zip |
Doc updates for v1.0 (#4485)
* Remove v0.x messages
* Add windows section to Installatino
* update
* update
* Update
* Comment out windows
Diffstat (limited to 'docs/api/tcp.md')
-rw-r--r-- | docs/api/tcp.md | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/docs/api/tcp.md b/docs/api/tcp.md index c9190875a..cba440f01 100644 --- a/docs/api/tcp.md +++ b/docs/api/tcp.md @@ -76,12 +76,6 @@ Bun.listen({ }); ``` -{% callout %} - -**Note** — Earlier versions of Bun supported passing a file path as `keyFile` and `certFile`; this has been deprecated as of `v0.6.3`. - -{% /callout %} - The `key` and `cert` fields expect the _contents_ of your TLS key and certificate. This can be a string, `BunFile`, `TypedArray`, or `Buffer`. ```ts @@ -95,7 +89,7 @@ Bun.listen({ // string key: fs.readFileSync("./key.pem", "utf8"), // array of above - key: [Bun.file('./key1.pem'), Bun.file('./key2.pem')] + key: [Bun.file("./key1.pem"), Bun.file("./key2.pem")], }, }); ``` |