mirror of
https://github.com/lixiaofei123/pdftoolbox.git
synced 2026-10-14 21:38:23 +08:00
Update main.go
解决压缩下载文件是txt的bug
This commit is contained in:
@@ -56,7 +56,7 @@ func CompressFile(rw http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
outFile := fmt.Sprintf("output/%s_%s_%s.txt", setting, uuid[:6], handler.Filename)
|
||||
outFile := fmt.Sprintf("output/%s_%s_%s", setting, uuid[:6], handler.Filename)
|
||||
|
||||
go func(uuid string, dataLen int) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user