Skip to content

Commit d853831

Browse files
authored
Update configuration.md
there was kind of a mix up with the options of aot and detail configs
1 parent ecdba8d commit d853831

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

docs/patterns/configuration.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@ new Elysia({
6161
aot: true
6262
})
6363
```
64+
Disable Ahead of Time compilation
65+
66+
#### Options - @default `false`
67+
68+
- `true` - Precompile every route before starting the server
69+
70+
- `false` - Disable JIT entirely. Faster startup time without cost of performance
6471

6572
## detail
6673

@@ -79,14 +86,6 @@ new Elysia({
7986
})
8087
```
8188

82-
Disable Ahead of Time compilation
83-
84-
#### Options - @default `false`
85-
86-
- `true` - Precompile every route before starting the server
87-
88-
- `false` - Disable JIT entirely. Faster startup time without cost of performance
89-
9089
## name
9190

9291
Define a name of an instance which is used for debugging and [Plugin Deduplication](/essential/plugin.html#plugin-deduplication)

0 commit comments

Comments
 (0)