Remove unnecessary backticks in quickstart doc page (#4927)

This commit is contained in:
Diogo Goncalves
2023-09-12 01:54:22 +10:00
committed by GitHub
parent decad91d24
commit 58e69ef9f4

View File

@@ -35,7 +35,7 @@ Open `index.ts` and paste the following code snippet, which implements a simple
const server = Bun.serve({
port: 3000,
fetch(req) {
return new Response(`Bun!`);
return new Response("Bun!");
},
});
@@ -97,9 +97,9 @@ Update `index.ts` to use `figlet` in the `fetch` handler.
const server = Bun.serve({
fetch() {
+ const body = figlet.textSync('Bun!');
+ const body = figlet.textSync("Bun!");
+ return new Response(body);
- return new Response(`Bun!`);
- return new Response("Bun!");
},
port: 3000,
});