We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e5da8b commit 6d6000cCopy full SHA for 6d6000c
docs/tutorial/getting-started/status-and-headers/index.md
@@ -49,7 +49,7 @@ You can also return a status code by returning your response using a `status` fu
49
import { Elysia } from 'elysia'
50
51
new Elysia()
52
- .get('/', ({ status }) => status(418, "I'm a teapot'"))
+ .get('/', ({ status }) => status(418, "I'm a teapot"))
53
.listen(3000)
54
```
55
docs/tutorial/patterns/error-handling/index.md
@@ -45,7 +45,7 @@ new Elysia()
45
if(code === "NOT_FOUND")
46
return 'uhe~ are you lost?'
47
48
- return status(418, "My bad! But I\'m cute so you'll forgive me, right?")
+ return status(418, "My bad! But I'm cute so you'll forgive me, right?")
})
.get('/', () => 'ok')
0 commit comments