Fix http acme init call

This commit is contained in:
Melon 2023-07-11 13:11:48 +01:00
parent c0dce22bf8
commit 6057f82198
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -82,7 +82,7 @@ func normalLoad(conf startUpConfig, wd string) {
keyDir := filepath.Join(wd, "keys")
wg := &sync.WaitGroup{}
acmeProv, _ := httpAcme.NewHttpAcmeProvider(filepath.Join(wd, "tokens.json"), conf.Acme.PresentUrl, conf.Acme.CleanUpUrl, conf.Acme.RefreshUrl)
acmeProv, err := httpAcme.NewHttpAcmeProvider(filepath.Join(wd, "tokens.yml"), conf.Acme.PresentUrl, conf.Acme.CleanUpUrl, conf.Acme.RefreshUrl)
if err != nil {
log.Fatal("[Orchid] HTTP Acme Error:", err)
}