mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
create giteaClient once
This commit is contained in:
parent
0f662157ff
commit
5c508c5d13
2 changed files with 5 additions and 3 deletions
|
@ -109,7 +109,8 @@ func Serve(ctx *cli.Context) error {
|
|||
defer certDB.Close() //nolint:errcheck // database has no close ... sync behave like it
|
||||
|
||||
listener = tls.NewListener(listener, certificates.TLSConfig(mainDomainSuffix,
|
||||
giteaRoot, giteaAPIToken, dnsProvider,
|
||||
giteaClient,
|
||||
dnsProvider,
|
||||
acmeUseRateLimits,
|
||||
keyCache, challengeCache, dnsLookupCache, canonicalDomainCache,
|
||||
certDB))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue