Commit 02455753 by rogerswingle Committed by Torkel Ödegaard

Specify region for s3 (#8251)

parent 88dd8af4
...@@ -78,5 +78,5 @@ func (u *S3Uploader) Upload(imageDiskPath string) (string, error) { ...@@ -78,5 +78,5 @@ func (u *S3Uploader) Upload(imageDiskPath string) (string, error) {
return "", err return "", err
} }
return "https://" + u.bucket + ".s3.amazonaws.com/" + key, nil return "https://" + u.bucket + ".s3-" + u.region + ".amazonaws.com/" + key, nil
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment