aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Quentin <39061148+LapsTimeOFF@users.noreply.github.com> 2023-09-18 03:18:18 +0200
committerGravatar GitHub <noreply@github.com> 2023-09-17 18:18:18 -0700
commit2a6fdc22988bbca30a44fa1f4c763beb20f9a825 (patch)
tree4908ad1f1efaef56832e3b7f03edce4e057d48ec
parentbca88b67e33e657380435d440ce847e4573db8b2 (diff)
downloadbun-2a6fdc22988bbca30a44fa1f4c763beb20f9a825.tar.gz
bun-2a6fdc22988bbca30a44fa1f4c763beb20f9a825.tar.zst
bun-2a6fdc22988bbca30a44fa1f4c763beb20f9a825.zip
Fix a `'app.server' is possibly 'null'.` error (#5626)
-rw-r--r--docs/guides/ecosystem/elysia.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/guides/ecosystem/elysia.md b/docs/guides/ecosystem/elysia.md
index ae1a8e37b..019686a63 100644
--- a/docs/guides/ecosystem/elysia.md
+++ b/docs/guides/ecosystem/elysia.md
@@ -21,7 +21,7 @@ const app = new Elysia()
.get('/', () => 'Hello Elysia')
.listen(8080)
-console.log(`🦊 Elysia is running at on port ${app.server.port}...`)
+console.log(`🦊 Elysia is running at on port ${app.server?.port}...`)
```
---