mirror of
https://github.com/go-acme/lego.git
synced 2024-12-10 12:54:54 +02:00
Fixed CLI after WebRoot provider was moved
This commit is contained in:
parent
7ebad0e886
commit
4116254e6c
@ -16,6 +16,7 @@ import (
|
||||
"github.com/xenolf/lego/providers/dns/dnsimple"
|
||||
"github.com/xenolf/lego/providers/dns/rfc2136"
|
||||
"github.com/xenolf/lego/providers/dns/route53"
|
||||
"github.com/xenolf/lego/providers/http/webroot"
|
||||
)
|
||||
|
||||
func checkFolder(path string) error {
|
||||
@ -54,7 +55,7 @@ func setup(c *cli.Context) (*Configuration, *Account, *acme.Client) {
|
||||
}
|
||||
|
||||
if c.GlobalIsSet("webroot") {
|
||||
provider, err := acme.NewHTTPProviderWebroot(c.GlobalString("webroot"))
|
||||
provider, err := webroot.NewHTTPProviderWebroot(c.GlobalString("webroot"))
|
||||
if err != nil {
|
||||
logger().Fatal(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user