VI
VI
Explore posts from servers
CDCloudflare Developers
Created by VI on 4/20/2024 in #workers-help
Can I pin my worker to run from specific region?
I have my db in a ap-south-1, the latency would be better if my worker also runs in the same region. I am aware of smart placement, but I couldn't get it to activate for some reason I get Unsupported back-end services although I'm using fetch to Planetscale database.
1 replies
TtRPC
Created by VI on 2/3/2024 in #❓-help
Drizzle query not working only inside trpc
My drizzle query works inside a regular nextjs api route. The same query running inside trpc throws an error:
TRPCClientError: Cannot read properties of undefined (reading 'prepare')
at TRPCClientError.from
TRPCClientError: Cannot read properties of undefined (reading 'prepare')
at TRPCClientError.from
I'm using Cloudflare d1 for database.
3 replies