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.

Have you finished minio setup by any chance?

OK, I am answering myself, I just set up minio without any issues, it’s the environment which is working for me with local minio server:

``` 
STORAGE_DRIVER=Type=S3; Region=ap-southeast-1; AccessKeyId=joplin; SecretAccessKeyId=password; Bucket=joplin; Endpoint=http://192.168.1.6:9000