it does but i just set it up in wrangler
it does but i just set it up in wrangler.jsonc, and then update cloudflare type to update the env from get cloudflare context
5 Replies
You mean add
"experimental_remote": true
and
And static pages that require databse builds correctly and all good?yes and then use getCloudflare context, and use the env.YourDB
in your route or ts/js file
and always use the env from getCloudflareContext()
You use async on sync?
and when u add a new secret to your .dev.vars dont forget to update, your cloudflare types
depends
Now I'm very curious why it doesnt work for me 😄