Update README.md (#684)

Fix typo in code sample for hono/cache
pull/686/head
Jeff Astor 2024-08-08 22:36:33 -04:00 committed by GitHub
parent 4706d43da2
commit 5facd8cd25
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ You can configure middleware for each endpoint from a route created by `createRo
```ts
import { prettyJSON } from 'hono/pretty-json'
import { cache } from 'honoc/cache'
import { cache } from 'hono/cache'
app.use(route.getRoutingPath(), prettyJSON(), cache({ cacheName: 'my-cache' }))
app.openapi(route, handler)