Examples of sending single and bulk redirects from a Worker script.
index.js
is the content of the Workers script.
Live Demos are hosted on workers-tooling.cf/demos/redirect
:
To generate using wrangler
wrangler generate myApp https://github.com/cloudflare/worker-template-redirect
To deploy using serverless add a serverless.yml
file.
`