fix renew task

This commit is contained in:
yuzuki999 2023-08-03 13:34:52 +08:00
parent d659971c71
commit c61b4155ce

View File

@ -28,7 +28,7 @@ func (c *Controller) startTasks(node *panel.NodeInfo) {
_ = c.userReportPeriodic.Start(false)
if node.Tls {
switch c.CertConfig.CertMode {
case "reality", "none", "":
case "reality", "none", "", "file":
default:
c.renewCertPeriodic = &task.Task{
Interval: time.Hour * 24,