We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4cd287c + fb9cc45 commit bfbda2cCopy full SHA for bfbda2c
internal/pkg/gitjacker/retriever.go
@@ -11,6 +11,7 @@ import (
11
"regexp"
12
"strings"
13
"time"
14
+ "crypto/tls"
15
16
"github.com/sirupsen/logrus"
17
)
@@ -92,12 +93,15 @@ func New(target *url.URL, outputDir string) *retriever {
92
93
94
relative, _ := url.Parse(".git/")
95
target = target.ResolveReference(relative)
96
+ customTransport := http.DefaultTransport.(*http.Transport).Clone()
97
+ customTransport.TLSClientConfig = &tls.Config{InsecureSkipVerify: true}
98
99
return &retriever{
100
baseURL: target,
101
outputDir: outputDir,
102
http: &http.Client{
103
Timeout: time.Second * 10,
104
+ Transport: customTransport,
105
},
106
downloaded: make(map[string]bool),
107
summary: Summary{
0 commit comments