diff --git a/api/domain_export_download.go b/api/domain_export_download.go index 09566c3..daacc39 100644 --- a/api/domain_export_download.go +++ b/api/domain_export_download.go @@ -27,6 +27,6 @@ func domainExportDownloadHandler(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "Error: that exportHex does not exist\n") } - w.Header().Set("Content-Disposition", fmt.Sprintf(`inline; filename="%s-%v.gz"`, domain, creationDate.Unix())) + w.Header().Set("Content-Disposition", fmt.Sprintf(`inline; filename="%s-%v.json.gz"`, domain, creationDate.Unix())) w.Write(binData) }