Skip to content

Commit

Permalink
fix issue KABBOUCHI#47
Browse files Browse the repository at this point in the history
  • Loading branch information
anditsung committed Sep 27, 2022
1 parent 5399d2c commit 4421c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/LogsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function show($log, Request $request)
abort(403);
}

return response()->download(Ward::pathToLogFile($log));
return response()->download(Ward::pathToLogFile($log), null, ['Cache-Control' => 'no-store'])->setPrivate();
}

/**
Expand Down

0 comments on commit 4421c1e

Please sign in to comment.