Worker path not marching redirect URL hosted on a bucket
Hello.
I'm using the basic worker example on cloudflare called "Common Worker Examples".
My domain is hosted on a gcloud bucket.
I setup the routes in Cloudflare as so:
When I land on
Same thing if I go to
However, if I go redirectly to
So, I'm 100% confused. It seems that the URLs
Can someone please give a hint?
Thanks
I'm using the basic worker example on cloudflare called "Common Worker Examples".
My domain is hosted on a gcloud bucket.
I setup the routes in Cloudflare as so:
When I land on
www.hello-world.info and press the links (from the worker script) , I get redirected here: https://www.hello-world.info/redirect?redirectUrl=https://example.com/ with the 404 page from my bucket.Same thing if I go to
https://www.hello-world.info/redirect?redirectUrl=https://example.com/ directly.However, if I go redirectly to
https://www.hello-world.info/redirect I get the error message from the script Redirect URL not provided So, I'm 100% confused. It seems that the URLs
https://www.hello-world.info and https://www.hello-world.info/redirect match the routes in cloudflare but https://www.hello-world.info/redirect?redirectUrl=https://example.com/ does not? Or maybe it's something else?Can someone please give a hint?
Thanks
