From 616afbcd03928dbec40089cec638e15eea3e2030 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lep=C3=A9rou?= Date: Tue, 19 Dec 2023 23:22:43 +0100 Subject: [PATCH] docs(qwik-city) support all request methods (#321) --- .changeset/fuzzy-grapes-play.md | 5 +++++ packages/qwik-city/README.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/fuzzy-grapes-play.md diff --git a/.changeset/fuzzy-grapes-play.md b/.changeset/fuzzy-grapes-play.md new file mode 100644 index 000000000..f33d06ce0 --- /dev/null +++ b/.changeset/fuzzy-grapes-play.md @@ -0,0 +1,5 @@ +--- +'@hono/qwik-city': patch +--- + +expose qwik city throughout all the request methods instead of only the get diff --git a/packages/qwik-city/README.md b/packages/qwik-city/README.md index 097785260..ee8921fba 100644 --- a/packages/qwik-city/README.md +++ b/packages/qwik-city/README.md @@ -12,7 +12,7 @@ import { Hono } from 'hono' const app = new Hono() -app.get('*', qwikMiddleware({ render, qwikCityPlan })) +app.all('*', qwikMiddleware({ render, qwikCityPlan })) export default app ```