docs(qwik-city) support all request methods (#321)

pull/328/head
Thomas Lepérou 2023-12-19 23:22:43 +01:00 committed by GitHub
parent f37933be60
commit 616afbcd03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
'@hono/qwik-city': patch
---
expose qwik city throughout all the request methods instead of only the get

View File

@ -12,7 +12,7 @@ import { Hono } from 'hono'
const app = new Hono() const app = new Hono()
app.get('*', qwikMiddleware({ render, qwikCityPlan })) app.all('*', qwikMiddleware({ render, qwikCityPlan }))
export default app export default app
``` ```