mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-05-05 10:27:51 +00:00
some linting
This commit is contained in:
parent
7ce46167ff
commit
bfe054f734
8 changed files with 25 additions and 9 deletions
server/certificates
|
@ -350,6 +350,7 @@ func obtainCert(acmeClient *lego.Client, domains []string, renew *certificate.Re
|
|||
}
|
||||
|
||||
func SetupAcmeConfig(acmeAPI, acmeMail, acmeEabHmac, acmeEabKID string, acmeAcceptTerms bool) (*lego.Config, error) {
|
||||
// TODO: make it a config flag
|
||||
const configFile = "acme-account.json"
|
||||
var myAcmeAccount AcmeAccount
|
||||
var myAcmeConfig *lego.Config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue