Closed vickyRathee closed 3 months ago
Hi @vickyRathee
This is a @hono/vite-dev-server
issue. I will resolve it.
Hey @vickyRathee
This is fixed in the new version of @hono/vite-dev-server
. So please upgrade it: npm i @hono/vite-dev-server
.
@yusukebe thanks for quick resolution.
What version of Hono are you using?
4.5.5
What runtime/platform is your app running on?
Cloudflare pages
What steps can reproduce the bug?
The
cf
properties are missing in Cloudflare vite adapter which is causing exception in the application migration from older version of Hono + Cloudflare pages where I was usingfunction/[[server]].ts
to build the application directly with wrangler instead viteWhat is the expected behavior?
vite adapter should have cf properties
What do you see instead?
An exception
Additional information
No response