flareact
flareact copied to clipboard
static files are not being served when dynamic route being used
Describe the problem:
Static files from the public folder are not being used with a dynamic route such as https://example.com/[slug]
I am trying to access the robots.txt
.
Link to a minimal reproduction:
https://github.com/subhendukundu/cool-bio-flareact-styled
I have the same problem when I try to access some images in the public folder, while a dynamic path is created. I would also like to mention that when I remove that dynamic path, then this problem disappears and I have access to static files.
Try a temporary workaround, go to cloudflare panel and set the flareact worker on the public route. eg http://yourdomain.com/public
Should work