fix hy tls bug

fix task
This commit is contained in:
yuzuki999 committed 2023-06-18 03:37:27 +08:00
1 parent 7ac6232639
commit c536c46703
7 files changed
+28 -19

No files matched your search

+2 -1
View File
@@ -16,7 +16,8 @@ type Lego struct {
}
func New(config *conf.CertConfig) (*Lego, error) {
user, err := NewUser(path.Join("/etc/V2bX/cert/user/",
user, err := NewUser(path.Join(path.Dir(config.CertFile),
"user",
fmt.Sprintf("user-%s.json", config.Email)),
config.Email)
if err != nil {