Skip to content

Commit aa90794

Browse files
authored
doc: update express app example (#6718)
1 parent 89f198c commit aa90794

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ app.get('/', (req, res) => {
4040
res.send('Hello World')
4141
})
4242

43-
app.listen(3000)
43+
app.listen(3000, () => {
44+
console.log('Server is running on http://localhost:3000')
45+
})
4446
```
4547

4648
## Installation

0 commit comments

Comments
 (0)