Assistance Needed: Issue with Cloudflare Worker Setup
Hi everyone,
I'm facing some hurdles with my Cloudflare Worker setup and could use your expertise to troubleshoot. Here's a concise breakdown of the issue:
Problem:
I'm encountering difficulties serving specific pages through Cloudflare Worker from subdirectories on my website. While the primary page (index.html) loads correctly, pages within subdirectories fail to load as expected. Despite attempts to configure wildcard routes, the issue persists.
All configurations have been meticulously reviewed, and the links within the pages point to the custom domain of the worker.
"I am looking for the best way to host a multitude of landing page subdomains on the Cloudflare CDN network. Setting up a worker for each domain is not an option."
I would greatly appreciate any insights or suggestions to overcome this obstacle. Your support is invaluable!
Thank you for your assistance in advance!
1 Reply
Problem solved I just moved the subdirectories a level up and worker works accordingly and serves the index.html from the folder correctly now.