Skip to content

Commit

Permalink
Documentation: fix params of Bun.serve to use yoga issue #3003 (#3155)
Browse files Browse the repository at this point in the history
  • Loading branch information
talesmgodois authored Jan 19, 2024
1 parent def25fc commit 266488a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion website/src/pages/docs/integrations/integration-with-bun.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ const yoga = createYoga({
}
})
})
const server = Bun.serve(yoga)

const server = Bun.serve({
fetch: yoga,
});

console.info(
`Server is running on ${new URL(
yoga.graphqlEndpoint,
Expand Down

0 comments on commit 266488a

Please sign in to comment.