Nlea
Explore posts from serversCDCloudflare Developers
•Created by Nlea on 11/14/2024 in #workers-help
How to access environment variables in Cloudflare Workers when using RPC binding
@Skye, thanks for pointing that out! While I used
this.env
within the fetch function to pass the env
parameter to the send function, it didn’t occur to me that I don’t actually need the env
parameter—I can simply declare it within the send function 🤦♀️ . I think I had a big mental block there. Thanks for helping me untangle it!2 replies