Specify CA certificate download filename
This commit is contained in:
parent
78c23e9e59
commit
a7232831c3
|
@ -63,7 +63,7 @@ func returnCacert(c *gin.Context) {
|
||||||
c.String(http.StatusInternalServerError, e)
|
c.String(http.StatusInternalServerError, e)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
c.File(home + "/.config/cert400/ca.crt")
|
c.FileAttachment(home+"/.config/cert400/ca.crt", "cacert.cer")
|
||||||
}
|
}
|
||||||
|
|
||||||
func returnIndex(c *gin.Context) {
|
func returnIndex(c *gin.Context) {
|
||||||
|
|
Loading…
Reference in New Issue