Skip to content

Commit

Permalink
docs: remove extra await (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux authored Sep 16, 2024
1 parent 3ad144e commit a06c056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/1.guide/6.node.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!");
Expand Down

0 comments on commit a06c056

Please sign in to comment.