wilsonianb
CDCloudflare Developers
•Created by jason on 8/2/2024 in #kv
I'm using Cloudflare Pages with KV.
https://developers.cloudflare.com/pages/functions/wrangler-configuration/#environment-specific-overrides
If you wanted to have configuration values apply to local and preview, but override production, your file would look like this:
14 replies
CDCloudflare Developers
•Created by sia on 8/2/2024 in #workers-discussions
function calling a worker with data
Unless functions have some extra limitations, I'm guessing you can use either RPC or do
fetch
with a request with your JSON data.
https://developers.cloudflare.com/workers/runtime-apis/bindings/service-bindings/#interfaces2 replies