diff --git a/apps/docs/content/guides/functions/routing.mdx b/apps/docs/content/guides/functions/routing.mdx index 3171462d5fe..e0f884764ef 100644 --- a/apps/docs/content/guides/functions/routing.mdx +++ b/apps/docs/content/guides/functions/routing.mdx @@ -93,12 +93,12 @@ import type { Context } from 'https://deno.land/x/hono/mod.ts'; const app = new Hono(); app.post('/hello-world', async (c: Context) => { -const { name } = await c.req.json(); -return new Response(`Hello ${name}!`) + const { name } = await c.req.json(); + return new Response(`Hello ${name}!`) }); app.get('/hello-world', (c: Context) => { -return new Response('Hello World!') + return new Response('Hello World!') }); Deno.serve(app.fetch);