Origin Error

Hello,

For a specific route in my Cloudflare worker, I want to set the request to ensure the origin error passes through and a Cloudflare error page is not served. How do I set that (as code) in my worker?

Thanks,
Fluo

You cannot override or control the Cloudflare standard error pages using Workers - unless you can change the status code being returned inside the worker to one that Cloudflare doesn’t intercept.

Note that for most types of errors, you can customise them in your dashboard:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.