Specify CA certificate download filename

This commit is contained in:
raul 2024-05-24 09:16:50 +02:00
parent 78c23e9e59
commit a7232831c3
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ func returnCacert(c *gin.Context) {
c.String(http.StatusInternalServerError, e)
return
}
c.File(home + "/.config/cert400/ca.crt")
c.FileAttachment(home+"/.config/cert400/ca.crt", "cacert.cer")
}
func returnIndex(c *gin.Context) {