aboutsummaryrefslogtreecommitdiff
path: root/docs/api/http.md
diff options
context:
space:
mode:
authorGravatar James Gordo <14321895+jamesgordo@users.noreply.github.com> 2023-09-14 07:36:11 +0800
committerGravatar GitHub <noreply@github.com> 2023-09-13 16:36:11 -0700
commitcb01cb0d4ad67aace33ae603938d1a28a7c10ca7 (patch)
tree0dd54bdfac951c9eb66bc220af6f2ceab42ca270 /docs/api/http.md
parent64033f11cc42e000ea3a67d7790359eeb21a7a00 (diff)
downloadbun-cb01cb0d4ad67aace33ae603938d1a28a7c10ca7.tar.gz
bun-cb01cb0d4ad67aace33ae603938d1a28a7c10ca7.tar.zst
bun-cb01cb0d4ad67aace33ae603938d1a28a7c10ca7.zip
Fixed api & cli docs typo. (#5262)
* Fixed api & cli docs typo. * Fix --------- Co-authored-by: Colin McDonnell <colinmcd94@gmail.com>
Diffstat (limited to '')
-rw-r--r--docs/api/http.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api/http.md b/docs/api/http.md
index 629570335..cd20a9931 100644
--- a/docs/api/http.md
+++ b/docs/api/http.md
@@ -71,7 +71,7 @@ In development mode, Bun will surface errors in-browser with a built-in error pa
{% image src="/images/exception_page.png" caption="Bun's built-in 500 page" /%}
-To handle server-side errors, implement an `error` handler. This function should return a `Response` to served to the client when an error occurs. This response will supercede Bun's default error page in `development` mode.
+To handle server-side errors, implement an `error` handler. This function should return a `Response` to serve to the client when an error occurs. This response will supersede Bun's default error page in `development` mode.
```ts
Bun.serve({