fixup! feat(backend): AWS_SKIP_SSL_VALIDATION env var
This commit is contained in:
parent
5a32244db0
commit
44d176f977
1 changed files with 1 additions and 1 deletions
2
backend/pkg/env/aws.go
vendored
2
backend/pkg/env/aws.go
vendored
|
|
@ -24,7 +24,7 @@ func AWSSessionOnRegion(region string) *_session.Session {
|
|||
config.S3ForcePathStyle = aws.Bool(true)
|
||||
|
||||
AWS_SKIP_SSL_VALIDATION := Bool("AWS_SKIP_SSL_VALIDATION")
|
||||
if !AWS_SKIP_SSL_VALIDATION {
|
||||
if AWS_SKIP_SSL_VALIDATION {
|
||||
tr := &http.Transport{
|
||||
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue