Skip to content

Commit

Permalink
Update quickstart.md (#8622)
Browse files Browse the repository at this point in the history
Update index.ts code snippet for consistency in quickstart.md.
  • Loading branch information
guarner8 authored Feb 1, 2024
1 parent 8191fbd commit ce1eba1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@ Update `index.ts` to use `figlet` in the `fetch` handler.
+ import figlet from "figlet";
const server = Bun.serve({
fetch() {
port: 3000,
fetch(req) {
+ const body = figlet.textSync("Bun!");
+ return new Response(body);
- return new Response("Bun!");
},
port: 3000,
});
```

Expand Down

0 comments on commit ce1eba1

Please sign in to comment.