Ricky U
Ricky U
Explore posts from servers
CDCloudflare Developers
Created by Ricky U on 4/24/2025 in #workers-help
Secret Store In Local Dev Mode?
Okay so using the --remote flag like npx wrangler dev does use my remote SECRETS STORE bindings, but has a sideeffect of not logging any console.log in my local dev console... so back to use my local secret store -- how do i do that, is there a fall back for using the .dev.vars -- the docs arent clear how exactly to use SECRETS STORE locally?
2 replies
CDCloudflare Developers
Created by Ricky U on 4/10/2025 in #general-help
Pages functions vs workers - the difference
Follow up qs: 1) Pages Functions: sorry i said console, i meant dashboard, you cant review the code in the dashboard ? 2) Hono doesn't see to gel with Pages functions, or atleast on my last attempt, could it be because of the older wrangler? 3) Agreed that the pricing is all to confusing for both, frankly im using Pro Pages+Argo and Paid Workers, not sure if there is any overlap or benefit here. 4) If you setup a new worker under the /functions directory with a .toml file with a entry point to index.js, when pushing to CF pages would PAGES pick up the worker as a function? --I would like my new workers to be on the same path as my current pages functions, i.e. domain.com/api/functionName. 5) The new workerd (wrangler 4.x) supports tls and net socket, hence mongodb drivers all now work, which is great, but I lost couple days with this using pages functions, it just doesn't work and i've figured it could be because wrangler is 3.18 (older version) but cant seem to force pages to use the latest one, Similar to how we can set a node var version, can we do the same with wrangler version for pages functions? 6) The npm create cloudflare now creates a simple worker by default with vite and without a .toml file (jsonc). All the docs and offocial video guides are all lost on newbs (they were created just a few months ago) and are all dated. Hence can we use flags to not use vite and use a toml file instead, for simple workers vite is not needed, or do we just remove it manually.. Thanks sir!
10 replies
CDCloudflare Developers
Created by Ricky U on 4/8/2025 in #workers-help
When i use wrangler init to create a basic worker, it uses vite, how do i create a simple worker?
I see. It also bundles vite, but i dont need it for a simlpe function call, was hoping there was a way to still generate toml's no vite and just use wrangler -- all the docs and videos on cf official yt channel0 show that "worker only" will do this, but it doesnt .
3 replies
CDCloudflare Developers
Created by jjmeyer on 12/4/2024 in #pages-help
How to update the wrangler version from 3.76 to 3.91.0 on pages deploy
Did you work out how to update wrangler in pages?
2 replies
CDCloudflare Developers
Created by Ricky U on 3/21/2025 in #pages-help
Where has purge everything gone for Pages?
thank you
6 replies