You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
May I know where to pass the options for the bucket region? Currently my bucket is located in the asia pacific region and requires a url like https://s3-ap-southeast-1.amazonaws.com but the upload is currently pointing to https://s3.amazonaws.com as the default. Am I able to set it in the initialiser file:
S3DirectUpload.config do |c|
c.access_key_id = CONFIG[:aws_access_key_id] # your access key id
c.secret_access_key = CONFIG[:aws_secret_access_key] # your secret access key
c.bucket = CONFIG[:aws_s3_bucket] # your bucket name
c.region = CONFIG[:aws_s3_region] # Is this possible?
end
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
May I know where to pass the options for the bucket region? Currently my bucket is located in the asia pacific region and requires a url like https://s3-ap-southeast-1.amazonaws.com but the upload is currently pointing to https://s3.amazonaws.com as the default. Am I able to set it in the initialiser file:
S3DirectUpload.config do |c|
c.access_key_id = CONFIG[:aws_access_key_id] # your access key id
c.secret_access_key = CONFIG[:aws_secret_access_key] # your secret access key
c.bucket = CONFIG[:aws_s3_bucket] # your bucket name
c.region = CONFIG[:aws_s3_region] # Is this possible?
end
Thanks!
The text was updated successfully, but these errors were encountered: