下载运行日志文件
This commit is contained in:
parent
d56742d9a0
commit
bf342a70ae
|
@ -84,7 +84,7 @@ public class AdminController {
|
|||
headers.add("Expires", "0");
|
||||
headers.add("Last-Modified", new Date().toString());
|
||||
headers.add("ETag", String.valueOf(System.currentTimeMillis()));
|
||||
return ResponseEntity.ok().headers(headers).contentLength(file.length()).contentType(MediaType.parseMediaType("application/octet-stream")).body(new FileSystemResource(file_));
|
||||
return ResponseEntity.ok().headers(headers).contentLength(file_.length()).contentType(MediaType.parseMediaType("application/octet-stream")).body(new FileSystemResource(file_));
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue