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
path: root/app.go
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-09-24 13:24:04 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-09-24 13:24:04 +0300
commite5d6997a68f323bc345928d14ac902ac506b4a67 (patch)
treea120dbcae3cca7e4d256bc17d0b93b17615afc9e /app.go
parent83376dd5016d918e579342d935c18ad2002c1dca (diff)
Remove refactoring support comments and improve app.go
Diffstat (limited to 'app.go')
-rw-r--r--app.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.go b/app.go
index 7b3a191c..0d69ac79 100644
--- a/app.go
+++ b/app.go
@@ -62,7 +62,7 @@ func (a *theApp) ServeTLS(ch *tls.ClientHelloInfo) (*tls.Certificate, error) {
return nil, nil
}
- if domain := a.domains.GetDomain(ch.ServerName); domain != nil {
+ if domain := a.domain(ch.ServerName); domain != nil {
tls, _ := domain.EnsureCertificate()
return tls, nil
}