I have a simple worker that generates a robots.txt allow-all.
It runs on two routes. One is *sygnal.com/robots.txt, where it runs fine.
Second is *assets.sygnal.com/robots.txt, where it does NOT execute.
The assets subdomain is managed by the 'Cassette' app, which basically maps an S3 bucket into the subdomain. I need to set the robots.txt to allow all.
Where is the conflict? How do I resolve it?
#Workers not running on proxied subdomain routes that are app-owned?
1 messages · Page 1 of 1 (latest)
Cloudflare Apps and Workers have problems together, you would have to remove the App and can add its logic to your Worker instead
Thanks Erisa, so I'd have to redesign the app as a worker? I'd been considering that anyway, or build my own extended App version of cassette.