-
Notifications
You must be signed in to change notification settings - Fork 206
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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 | |||
|
There was a problem hiding this comment.
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 ); | ||
} |
There was a problem hiding this comment.
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.
Some time S3 clones (like minio) is running on custom ports. This fix allows us to specify the port in AWS URL