Custom S3 endpoints for Joplin Server

Hi,

I wanted to set up Joplin server with my Minio instance as backend, but I noticed that it wasn't supported to give a custom endpoint to the S3 storage driver.
I'm currently working on adding custom endpoints to the code.
Would it be a good idea to share my code changes after I finish them?

This would be a great feature. I have a non-AWS S3 object storage which does not need an endpoint. With Cyberduck, I can just fill in any AWS region and it will work (be ignored?) but having trouble with Jitsi. Thanks.