Skip to content

Commit 792b63e

Browse files
committed
Added edited the higlight
1 parent 9eb3d70 commit 792b63e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

docs/src/content/docs/index.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ void main() {
5252
app.listen(8080);
5353
}
5454
`;
55-
export const highlights = ['Middleware', 'route', 'Dynamic routing', 'Secure static'];
56-
55+
export const highlights = ['app.use', 'app.get', 'ctx.text', 'ctx.json', 'app.listen'];
5756
export const codeSecurity = `
5857
Levtus app = Levtus.create();
5958
@@ -68,7 +67,7 @@ app.maxConcurrentConnections(5000) // Set the maximum ammount of concurrent conn
6867
.processingSocketTimeout(20000); // Set the processing timeout for socket
6968
`;
7069
export const filename = 'Main.java';
71-
export const securityHighlights = ['', 'maxConcurrentConnections', 'maxBodySize', 'maxHeaderCount', 'staticFiles'];
70+
export const securityHighlights = ['maxConcurrentConnections', 'maxBodySize', 'maxHeaderCount', 'staticFiles'];
7271

7372
<div style={{ display: 'flex', gap: '0.5rem', flexWrap: 'wrap', alignItems: 'center' }}>
7473
<img

0 commit comments

Comments
 (0)