完善证书任务错误信息脱敏

This commit is contained in:
xuans committed 2026-08-31 02:06:29 +08:00
1 parent d531200d40
commit 3099493bf7
5 files changed
+98 -10

No files matched your search

+1 -1
View File
@@ -441,7 +441,7 @@ func (s *Server) issueDomain(c *gin.Context) {
s.writeError(c, http.StatusBadGateway, "证书申请或部署失败", err)
return
}
c.JSON(http.StatusOK, gin.H{"certificate": certificateResult, "deployment": deploymentReport})
c.JSON(http.StatusOK, gin.H{"certificate": certificateResult, "deployment": sanitizeDeploymentReport(deploymentReport)})
}
func (s *Server) listServers(c *gin.Context) {