cloudflare / cloudflare/workers-sdk
🐛 BUG: Static page with a category named 'functions' (public/functions/index.html) gets discarded
- Dominant language
- TypeScript
- Stars
- 4.5k
- Forks
- 1.5k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 183
Description
### What version of `Wrangler` are you using?
0.0.0
### What operating system are you using?
Windows
### Describe the Bug
I have a tutorials website made with HUGO on CF Pages and the public folder of the site is hosted on GitHub. Since the general release of CF functions a couple of days ago (11/15/22) the section of my site named ‘functions’, vanished off, this is, example.com/functions/ returns a 404 despite the page exists on the repository inside the public/functions folder. It seems that CF Pages discards that section because of its name. Maybe, this behaviour could be addresed cheking if there is an index.html inside the functions folder
As I wouldn’t like to change the name of the section of my site I'm wondering if there’s any way to solve this issue that could potentially affect any page on CF Pages with a 'functions' section.
> I'm writing an issue here following the advice reveived on CF community:
https://community.cloudflare.com/t/cf-pages-excluding-public-functions-folder-of-a-hugo-website/436010
Contributor guide
Assessment
This issue has not been assessed yet.