mirror of
https://github.com/InazumaV/Ratte.git
synced 2026-02-04 04:30:09 +00:00
fix: bugs
This commit is contained in:
@@ -3,6 +3,9 @@ package handler
|
||||
import "fmt"
|
||||
|
||||
func (h *Handler) RenewCertHandle() error {
|
||||
if !h.needTls {
|
||||
return nil
|
||||
}
|
||||
err := h.acme.RenewCert(h.Options.Cert.CertPath, h.Options.Cert.KeyPath, h.Options.Cert.Domain)
|
||||
if err != nil {
|
||||
return fmt.Errorf("renew cert error: %w", err)
|
||||
|
||||
Reference in New Issue
Block a user