Hi, I have a REST API where a subset of the routes return objects from R2 which can be made publicly

Hi, I have a REST API where a subset of the routes return objects from R2 which can be made publicly available. Rather than reading the objects from my API to serve those requests, I would like to serve them directly from Cloudflare with the public bucket feature. However, I still want all other routes to hit my API servers. Is this possible? Thanks!
Was this page helpful?