mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-04-21 11:55:17 +08:00
优化代码
This commit is contained in:
@@ -36,5 +36,5 @@ func (this *DownloadCertAction) RunGet(params struct {
|
||||
}
|
||||
|
||||
this.AddHeader("Content-Disposition", "attachment; filename=\"cert-"+strconv.FormatInt(params.CertId, 10)+".pem\";")
|
||||
this.Write(certConfig.CertData)
|
||||
_, _ = this.Write(certConfig.CertData)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user