yoav8888
yoav8888
CDCloudflare Developers
Created by yoav8888 on 4/30/2024 in #workers-help
binding and variables conflicting in env
Hi, I have a problem with the "env" in a worker. This worker uses another worker as a service and contains a variable. The wrangler.toml looks like this: [vars] URL = "https://geturlforexample.com/v1/token/" services = [ { binding = "GET_ID", service = "getcustomerid" } ] The problem is that if I remove the variable and leave only the service then the binding works, but if I leave the variable this seems to interfere with the binding and the worker fails. Is there a bug somewhere around this or perhaps a way to add the variable that does not interfere with the binding? thanks!
5 replies
CDCloudflare Developers
Created by yoav8888 on 3/6/2024 in #general-help
pricing of web3?
Hi guys, I am trying to find the pricing of the ethereum web3 gateway. Since it's a usage-based billing type of service I am trying to find how the usage is computed, is it per request? or perhaps a fixed price up to a limit? can you please point me out to the right link or just tell me over here? thanks!
12 replies
CDCloudflare Developers
Created by yoav8888 on 10/9/2023 in #pages-help
How to add .env variables when deploying from github
Hi, one quick question: 1. I have a React application done using Vite. 2. In github there is a .env-example file that in development is copied to an .env 3. But when I deploy to pages there is no way to add a production .env How can I add these environment variables, I tried with settings -> environment variables but the application doesn't see them Thanks!
3 replies