mirror of
https://github.com/grafana/grafana.git
synced 2025-01-10 08:03:58 -06:00
Specify region for s3 (#8251)
This commit is contained in:
parent
88dd8af4ce
commit
02455753b5
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user