Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Martinez <jmartinez@gitlab.com>2021-02-03 03:42:10 +0300
committerJaime Martinez <jmartinez@gitlab.com>2021-02-03 03:52:08 +0300
commitf6e3cae7630404c0775279c7942a3fae53a50afe (patch)
treea8ee4a7dc944c1a2ef48b50550447121affcc082 /internal/auth/auth.go
parent174e0a4e6f8371409b01808236e8e39923883c78 (diff)
Simplify meteredRoundTripper init
Use file.html explicitly in test
Diffstat (limited to 'internal/auth/auth.go')
-rw-r--r--internal/auth/auth.go2
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,