Hi all! I’m new to workers, so this may be a noob question. How do you configure a worker to run whe

Hi all! I’m new to workers, so this may be a noob question. How do you configure a worker to run when a user requests your website? For example, I’m looking to implement the bulk redirects example, but not sure how to configure this. Thank you!

https://developers.cloudflare.com/workers/examples/bulk-redirects/
Cloudflare Docs
Redirect requests to certain URLs based on a mapped object to the request's URL.
Was this page helpful?