Skip to content

Commit

Permalink
fix fastify too
Browse files Browse the repository at this point in the history
  • Loading branch information
juan-fernandez committed Sep 20, 2024
1 parent ff14d04 commit fa06117
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export async function createAndStartServer (app) {
})

try {
await app.listen(0)
await app.listen({ port: 0 })
const address = app.server.address()
const port = address.port
process.send({ port })
Expand Down

0 comments on commit fa06117

Please sign in to comment.