Save Files Generated in Pages App
I'm writing a Blazor app that I will eventually host in Cloudflare pages. I'll be generating files and I don't want to lose those files. I'll be generating and appending to a mdb file and log text files.
Is there a concept of persistent storage or something similar to kubernetes volumes? R2 seems to be what I'm looking for, but I don't see a way to link it to pages and generated files.
1 Reply
after writing the file to bucket I generated a url and saved it in my DB
That URL endpoint points to my own hono endpoint GET request, which downlods the file from R2, and returns to browser, Some indicative code
And GET endpoint code where the above url points to