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

Support for non standard ports #473

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

deeNewearth
Copy link

Some time S3 clones (like minio) is running on custom ports. This fix allows us to specify the port in AWS URL

Copy link
Collaborator

@jakubzitny jakubzitny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems okay, leaving few nits.

@@ -6,6 +6,8 @@ Evaporate is a JS library for uploading files from a browser to
AWS S3, using parallel S3's multipart uploads with MD5 checksum support
and control over pausing / resuming the upload.

## This branch allows to use Custom port for S3 endpoint

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we get rid of this comment? If merged, it seems unnecessary


if (!!port && 80 != port && 443 != port) {
this.awsHost += (':' + port );
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you could align the tabs/padding that would be great.

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.

None yet

2 participants