Skip to content

Commit 5a56016

Browse files
authored
Merge pull request #112 from gtramontina/patch-1
docs: fix serving single file example
2 parents 0be5590 + b9952ac commit 5a56016

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
@@ -89,5 +89,5 @@ Below you can find the common patterns to use the plugin.
8989
Suppose you want to return just a single file, you can use `Bun.file` instead of using static plugin
9090
```typescript
9191
new Elysia()
92-
.get('/file', () => Bun.file('public/takodachi.png')
92+
.get('/file', () => Bun.file('public/takodachi.png'))
9393
```

0 commit comments

Comments
 (0)