Has anyone made a website where I can copy paste from wrangler.yaml to wrangler.jsonc?
Has anyone made a website where I can copy paste from wrangler.yaml to wrangler.jsonc?

/my-endpoint , If I need to use one(or many) API call ( fetch or any sdk ( aws / gcp ..) ) , is it better to trigger a function and wait for the result or I can chain the API call directly from the worker ?

mainenv.ASSETS.fetch right?selflare to dev locally for pages ?Cannot read properties of undefined (reading 'get')functions in my (react) pages project, this folder will be use for the "backend" (receive request) where I can safely import my Secrets (using env). GET or HEAD. As best I can tell, this should make it impossible for users to modify our files, unless they can somehow modify the code of the worker itself (I assume they can't). Is that correct, or is there something else I need to do to make sure our web build is secure?name = "correct-worker-name"
main = "worker.js"
compatibility_date = "2023-08-23"
kv_namespaces = [
{ binding = "WORKER_KV", id = "correctid-123" }
]export default {
async fetch(request, env, ctx) {
const value = await env.WORKER_KV.get("thecorrectkey-123");
return new Response(value);
},
};/my-endpoint