diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2021-02-03 03:42:10 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2021-02-03 03:52:08 +0300 |
commit | f6e3cae7630404c0775279c7942a3fae53a50afe (patch) | |
tree | a8ee4a7dc944c1a2ef48b50550447121affcc082 /internal/auth/auth.go | |
parent | 174e0a4e6f8371409b01808236e8e39923883c78 (diff) |
Simplify meteredRoundTripper init
Use file.html explicitly in test
Diffstat (limited to 'internal/auth/auth.go')
-rw-r--r-- | internal/auth/auth.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/auth/auth.go b/internal/auth/auth.go index 215290ba..cbbc720e 100644 --- a/internal/auth/auth.go +++ b/internal/auth/auth.go @@ -661,7 +661,7 @@ func New(pagesDomain string, storeSecret string, clientID string, clientSecret s gitLabServer: strings.TrimRight(gitLabServer, "/"), apiClient: &http.Client{ Timeout: 5 * time.Second, - Transport: httptransport.InternalTransport, + Transport: httptransport.DefaultTransport, }, store: sessions.NewCookieStore(keys[0], keys[1]), authSecret: storeSecret, |