We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consider use host_base parameter of s3cfg file when initalize s3.Client.
I hardcode this to suit my case :
function setup(secretAccessKey, accessKeyId) { var maxSockets = parseInt(args['max-sockets'], 10); http.globalAgent.maxSockets = maxSockets; https.globalAgent.maxSockets = maxSockets; client = s3.createClient({ s3Options: { accessKeyId: accessKeyId, secretAccessKey: secretAccessKey, sslEnabled: !args.insecure, endpoint: 'cephgw.my.com', region: args.region, }, }); var cmd = args._.shift(); var fn = fns[cmd]; if (!fn) fn = cmdHelp; fn(); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Consider use host_base parameter of s3cfg file when initalize s3.Client.
I hardcode this to suit my case :
The text was updated successfully, but these errors were encountered: