With Backblaze releasing an S3-compatible API, I've found the need to specify a custom endpoint on some of my "S3" connections. It looks like nothing in particular is exposed, but was able to get it to work with this code, sharing in case others find this useful:
Would be nice to have a little documentation in the README on what can go into s3Options, I tried following the link, and it was pretty indecipherable, had me doing a bunch of new s3.AWS.Endpoint(endpoint) stuff that, though worked, apparently was not necessary!
With Backblaze releasing an S3-compatible API, I've found the need to specify a custom endpoint on some of my "S3" connections. It looks like nothing in particular is exposed, but was able to get it to work with this code, sharing in case others find this useful:
Would be nice to have a little documentation in the README on what can go into s3Options, I tried following the link, and it was pretty indecipherable, had me doing a bunch of
new s3.AWS.Endpoint(endpoint)
stuff that, though worked, apparently was not necessary!