Skip to content

Commit

Permalink
docs: update https example code (denoland#730)
Browse files Browse the repository at this point in the history
  • Loading branch information
champkeh authored Sep 7, 2023
1 parent 7edbb2d commit bf437be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/http_server_apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ These are contents of the certificate and key files, respectively.
```js
Deno.serve({
port: 443,
cert: Deno.readTextFile("./cert.pem"),
key: Deno.readTextFile("./key.pem"),
cert: Deno.readTextFileSync("./cert.pem"),
key: Deno.readTextFileSync("./key.pem"),
}, handler);
```

Expand Down

0 comments on commit bf437be

Please sign in to comment.