From f4d130c1955e50a66d9acd40b49994637bbd02aa Mon Sep 17 00:00:00 2001 From: Copple <10214025+kiwicopple@users.noreply.github.com> Date: Wed, 8 May 2024 19:59:44 +0200 Subject: [PATCH] Update routing.mdx (#25881) fix formatting --- apps/docs/content/guides/functions/routing.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);