aboutsummaryrefslogtreecommitdiff
path: root/examples/http.ts
diff options
context:
space:
mode:
Diffstat (limited to 'examples/http.ts')
-rw-r--r--examples/http.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/http.ts b/examples/http.ts
index 3a44f421e..97caf6bfc 100644
--- a/examples/http.ts
+++ b/examples/http.ts
@@ -1,6 +1,6 @@
// Start a fast HTTP server from a function
Bun.serve({
- async fetch(req: Request) {
+ fetch(req: Request) {
return new Response(`Echo: ${req.url}`);
},