diff --git a/docs/concepts/routes.md b/docs/concepts/routes.md index f53bccfc..bcd3c468 100644 --- a/docs/concepts/routes.md +++ b/docs/concepts/routes.md @@ -28,7 +28,7 @@ Let's look at a basic route that returns a plain text string: import { HandlerContext, Handlers } from "$fresh/server.ts"; export const handler: Handlers = { - GET(ctx: HandlerContext) { + GET(_req: Request, _ctx: HandlerContext) { return new Response("Hello World"); }, };