Specify region for s3 (#8251)
This commit is contained in:
1 parent
88dd8af4ce
commit
02455753b5
1 file changed
+1
-1
@@ -78,5 +78,5 @@ func (u *S3Uploader) Upload(imageDiskPath string) (string, error) {
|
||||
return "", err
|
||||
}
|
||||
|
||||
return "https://" + u.bucket + ".s3.amazonaws.com/" + key, nil
|
||||
return "https://" + u.bucket + ".s3-" + u.region + ".amazonaws.com/" + key, nil
|
||||
}
|
||||
Reference in new issue
Block a user