diff options
-rw-r--r-- | examples/bun/http.ts | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/examples/bun/http.ts b/examples/bun/http.ts index c528cdd02..4d58f270f 100644 --- a/examples/bun/http.ts +++ b/examples/bun/http.ts @@ -23,13 +23,13 @@ Bun.serve({ }); // Start a fast HTTP server from the main file's export -export default { - fetch(req) { - return new Response( - `This is another way to start a server! - if the main file export default's an object - with 'fetch'. Bun automatically calls Bun.serve` - ); - }, - // so autocomplete & type checking works -} as Bun.Serve; +// export default { +// fetch(req) { +// return new Response( +// `This is another way to start a server! +// if the main file export default's an object +// with 'fetch'. Bun automatically calls Bun.serve` +// ); +// }, +// // so autocomplete & type checking works +// } as Bun.Serve; |