From a7232831c312fb32970b00bad46fb61a124d025c Mon Sep 17 00:00:00 2001 From: raul Date: Fri, 24 May 2024 09:16:50 +0200 Subject: [PATCH] Specify CA certificate download filename --- cmd/serverFunc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/serverFunc.go b/cmd/serverFunc.go index 9414116..bd35114 100644 --- a/cmd/serverFunc.go +++ b/cmd/serverFunc.go @@ -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) {