Skip to content

Commit 272d783

Browse files
committed
docs(readme): fixed for Deno
1 parent 5f3e4c6 commit 272d783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ import { serve } from 'https://deno.land/std/http/server.ts'
108108
import { Pico } from 'https://esm.sh/@picojs/pico'
109109

110110
const app = new Pico()
111-
app.get('/', () => 'Hi Deno!')
111+
app.get('/', (c) => c.text('Hi Deno!'))
112112

113113
serve(app.fetch)
114114
```

0 commit comments

Comments
 (0)