can someone help please?

can someone help please?
3 Replies
Adrian
Adrian2w ago
Hey Rahul, have you tried following the example like this? https://hono.dev/docs/helpers/adapter#env
Adapter Helper - Hono
Web framework built on Web Standards for Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, Node.js, and others. Fast, but not only fast.
Adrian
Adrian2w ago
I'll spend some time looking into our hono support, but maybe we just simply don't have the Hyperdrive type defined yet
Rahul gangotri
Rahul gangotriOP2w ago
did it yesterday, its using hyperdrive now as better auth needs pool, so create a middleware that can create a pool and pass that pool on better auth and use env.HYPERDRIVE.host, port user ... etc. and using context to set it and use across project

Did you find this page helpful?