Issue with Workers / Nuxt / D1 via Drizzle
Hi,
When I deploy my app to cloudflare workers, I get a 500 error when retrieving data from my database on initial load, if I use the refresh method to get the data again it works fine. Locally works fine on page load.
This is how I am using drizzle:
server/api/users.get.ts:
useDatabase helper:
app.vue:
My question is - what am I doing wrong?
0 Replies