Might be wrong, but looks like it does add a Cloudflare IP address in the Connecting-IP
Might be wrong, but looks like it does add a Cloudflare IP address in the Connecting-IP

scripts folder, is the easiest way to make it such that I can see the logs is to move this under a /functions directory? Is there really no other way to see the server-side logs? i want to avoid generating functions per each file


CF-Worker request header in order to restrict traffic to only your Workers.

resolveOverride today, to keep a Host header intact while changing the resolved origin address.
waitUntil() , scheduled handlers for workers, and for cron triggers, but none seem to mention what happens in an error case.waitUntil() although it does not state if there is any cascading of that rejection to anywhere outside the handler, or what might happen as a result of that. Would they appear in Cron events as a Status of Internal Error?
scripts/functionsCF-WorkerresolveOverrideexport default {
async scheduled(event, env, ctx) {
ctx.waitUntil(Promise.reject('oh no'));
},
};waitUntil()waitUntil()