Skip to content

Commit 505ff3d

Browse files
authored
Merge pull request #83 from Wazbat/patch-1
Update quick-start.md to fix sample code errors
2 parents 4ae2b51 + 58bfdbb commit 505ff3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const app = new Elysia()
4040
.get('/', () => 'Hello Elysia')
4141
.listen(8080)
4242

43-
console.log(`🦊 Elysia is running at ${app.server.hostname}:${app.server.port}`)
43+
console.log(`🦊 Elysia is running at ${app.server?.hostname}:${app.server?.port}`)
4444
```
4545

4646
Start a development server by:

0 commit comments

Comments
 (0)