Skip to content

Commit

Permalink
txt superior
Browse files Browse the repository at this point in the history
  • Loading branch information
GodCipher committed Sep 25, 2023
1 parent 4006b41 commit e54302a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public ResponseEntity<byte[]> downloadLatestLog(@PathVariable String apiKey, Htt
try {
byte[] logBytes = Files.readAllBytes(logFile.toPath());

response.setHeader("Content-Disposition", "attachment; filename=logfile.log");
response.setHeader("Content-Disposition", "attachment; filename=logfile.txt");
response.setContentType(MediaType.APPLICATION_OCTET_STREAM_VALUE);

OutputStream outputStream = response.getOutputStream();
Expand Down

0 comments on commit e54302a

Please sign in to comment.