Host a Page and r2 files on the same domain?

Hello! I have an r2 bucket with a distribution of my desktop app that I'm working on. So i want r2 to be the place where it lives. In r2 there is also a download.html that contains some logic to show the user a download button for the proper host (i.e. mac intel vs mac apple chip).

I can attach my domain to r2 and that works.

But now I uploaded my index.html to cloudlfare pages, and i can't attach my domain to it because it's already taken.

What's the best way at resolving this?
Was this page helpful?