Skip to content

Commit ac97b64

Browse files
authored
Fixed: typo in docs/essential/route.md
Fixed the code snippet demo1 to be consistent with the interactive window of demo1.
1 parent ec89504 commit ac97b64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/essential/route.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ We can define a route by calling a **method named after HTTP verbs**, passing a
5252
import { Elysia } from 'elysia'
5353

5454
new Elysia()
55-
.get('/', () => 'Landing')
56-
.get('/hello', () => 'Hi')
55+
.get('/', () => 'hello')
56+
.get('/hello', () => 'hi')
5757
.listen(3000)
5858
```
5959

0 commit comments

Comments
 (0)