Drizzle / useFetch / cloudflare error on deployment
Hi,
When I deploy my app to cloudflare, I get a 500 error when retrieving data from my database on initial load, if I use the
This is how I am using drizzle:
server/api/users.get.ts:
useDatabase helper:
app.vue:
My question is - what am I doing wrong?
When I deploy my app to cloudflare, 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?
