Need to make a url load html page in worker with path
I have a URL in cloudflare, say https://domain.com. My use case is pretty simple. When I hit this URL, it should load the contents of a worker https://test.workers.dev/page (NOT REDIRECT, just proxy url).
And also the path should be preserved with the original url. I don't want to hardcode anything in the worker since I prefer this to be scaled for each page. Tried Cloudflare for SaaS but no result (probably couldn't figure out a way to use it right).
Any help would be greatly appreciated.
Cheers!
1 Reply
Bumping this up folks, still didn't find any solution!