Merge branch 'master' into docker_package

This commit is contained in:
wangliwen 2022-11-08 15:55:57 +08:00
commit ca4ce09aae
1 changed files with 1 additions and 1 deletions

View File

@ -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_));
}