Skip to content

Commit b9952ac

Browse files
committed
docs: fix serving single file example
1 parent 855de65 commit b9952ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/plugins/static.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,5 @@ Below you can find the common patterns to use the plugin.
8484
Suppose you want to return just a single file, you can use `Bun.file` instead of using static plugin
8585
```typescript
8686
new Elysia()
87-
.get('/file', () => Bun.file('public/takodachi.png')
87+
.get('/file', () => Bun.file('public/takodachi.png'))
8888
```

0 commit comments

Comments
 (0)