Hello. I'm developing a worker that uploads files to R2. For local dev, is there a way to emulate S3

Hello.
I'm developing a worker that uploads files to R2. For local dev, is there a way to emulate S3 compatible endpoint that would serve/upload the files stored in the --persist-to dir that my worker is using?
Was this page helpful?