This commit is contained in:
parent
3ea7adb0a7
commit
61e4d6fad3
@ -28,7 +28,7 @@ func getS3Client() (*s3.Client, error) {
|
|||||||
|
|
||||||
// Используем virtual-hosted-style endpoint
|
// Используем virtual-hosted-style endpoint
|
||||||
client := s3.NewFromConfig(cfg, func(o *s3.Options) {
|
client := s3.NewFromConfig(cfg, func(o *s3.Options) {
|
||||||
o.BaseEndpoint = aws.String("https://website.regru.cloud")
|
o.BaseEndpoint = aws.String("https://s3.regru.cloud")
|
||||||
o.UsePathStyle = false // Отключаем path-style
|
o.UsePathStyle = false // Отключаем path-style
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user