mirror of
https://github.com/1f349/orchid.git
synced 2024-11-09 23:02:53 +00:00
Fix http acme init call
This commit is contained in:
parent
c0dce22bf8
commit
6057f82198
@ -82,7 +82,7 @@ func normalLoad(conf startUpConfig, wd string) {
|
|||||||
keyDir := filepath.Join(wd, "keys")
|
keyDir := filepath.Join(wd, "keys")
|
||||||
|
|
||||||
wg := &sync.WaitGroup{}
|
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 {
|
if err != nil {
|
||||||
log.Fatal("[Orchid] HTTP Acme Error:", err)
|
log.Fatal("[Orchid] HTTP Acme Error:", err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user