fix: hotaru 主题查看密码页 typo

还有一些文案上的调整,安装脚本更新。close #101
This commit is contained in:
naiba
2021-02-25 20:00:16 +08:00
parent 09c20413c0
commit b4e6bc2ac8
6 changed files with 18 additions and 16 deletions

View File

@@ -25,8 +25,10 @@ func (s *NezhaHandler) ReportTask(c context.Context, r *pb.TaskResult) (*pb.Rece
// SSL 证书报警
var errMsg string
if strings.HasPrefix(r.GetData(), "SSL证书错误") {
// 证书错误提醒
errMsg = r.GetData()
// 排除超时错误
if !strings.HasSuffix(r.GetData(), "i/o timeout") {
errMsg = r.GetData()
}
} else {
var last model.MonitorHistory
var newCert = strings.Split(r.GetData(), "|")