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:
Route www.hello-world.info/redirect*
Route www.hello-world.info
Route www.hello-world.info/redirect*
Route www.hello-world.info
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
1 Reply
Eugene
EugeneOP2mo ago
miraculously it worked after a few minutes. 🤷‍♂️
Want results from more Discord servers?
Add your server