lib/s3_relay/base.rb in s3_relay-0.6.2 vs lib/s3_relay/base.rb in s3_relay-0.7.0
- old
+ new
@@ -22,10 +22,10 @@
def acl
ENV["S3_RELAY_ACL"]
end
def endpoint
- "https://#{bucket}.s3-#{region}.amazonaws.com"
+ "https://s3.#{region}.amazonaws.com/#{bucket}"
end
def digest
OpenSSL::Digest.new("sha1")
end