wrangler.toml where?
Hello, I just created worker via Wrangler CLI and I would like to edit my worker.js and wrangler.toml - I am unable to locate the wrangler.toml in Cloudflare dashboard - where should it be or do I have to create it manually?
5 Replies
ok, I just would like to use worker to be able to upload files to R2 - so I just edit worker.js in dashboard and where excatly should I put the wrangler.toml?
Or I should create wrangler.toml locally and later create the worker and just change .js code? Im really having trouble understanding this - sorry 😦
You can also just use the dash and add the binding within the dash too
In which case, you don't need to worry about a wrangler.toml
Ok, where should I add the bindings?
In the Workers dashboard, select the Worker then Settings -> Variables
Scroll down and find R2, you can bind it there
Thank you, will try doing it this way