Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow s3 urls to be set as path instead of subdomain + automatic region URL #44

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HommeSauvage
Copy link

When using a bucket name that looks like a domain name, the TLS security hits and blocks the request, this can be fixed when using react-native alone by lowering some security checks, but on an expo project, there's no fix. This will add an option: urlAsPath which which change s3 upload url from my.bucket.com.s3.amazonaws.com to s3.amazonaws.com/my.bucket.com.

In addition, I made the region url to be generated automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant