diff --git a/docs/1.guide/6.node.md b/docs/1.guide/6.node.md index 72e0a29..1fc287c 100644 --- a/docs/1.guide/6.node.md +++ b/docs/1.guide/6.node.md @@ -52,7 +52,7 @@ Until there will be native [Response][Response] handling support in Node.js http import { serve } from "srvx"; import { NodeFastResponse } from "srvx/node-utils"; -const server = await serve({ +const server = serve({ port: 3000, fetch() { return new NodeFastResponse("Hello!");