Access cloudflare binding in nextjs
I'm deploying a Next.js App Router app on Cloudflare Workers with a D1 binding set up . I'm running npx wrangler dev locally, but I'm having trouble accessing the D1 binding in my route handler (app/api/my-route/route.ts). Is it possible to access a cloudflare binding from the api route? Thanks