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