Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nitedani committed Jul 30, 2024
1 parent be31e6c commit 8525c45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vike-node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ startServer()
function startServer() {
const app = fastify()
app.register(vike())
const port = process.env.PORT || 3000
app.listen({ port: +port }, () => console.log(`Server running at http://localhost:${port}`))
const port = +(process.env.PORT || 3000)
app.listen({ port }, () => console.log(`Server running at http://localhost:${port}`))
}
```

Expand Down

0 comments on commit 8525c45

Please sign in to comment.