domain_export_download.go: include json in filename
This commit is contained in:
parent
20027d0efe
commit
af2626c443
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user