From a61727ed8961089202bf41477f505055d1ecb78c Mon Sep 17 00:00:00 2001 From: Daniel Hartmann Date: Mon, 14 Jan 2019 10:41:05 +0100 Subject: [PATCH] Use default Content-Disposition --- src/Models/Media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Models/Media.php b/src/Models/Media.php index cefd9d9a8..343a3ba21 100644 --- a/src/Models/Media.php +++ b/src/Models/Media.php @@ -228,7 +228,7 @@ public function toResponse($request) 'Cache-Control' => 'must-revalidate, post-check=0, pre-check=0', 'Content-Type' => $this->mime_type, 'Content-Length' => $this->size, - 'Content-Disposition' => 'attachment; filename="'.$this->file_name.'"', + 'Content-Disposition' => 'inline; filename="'.$this->file_name.'"', 'Pragma' => 'public', ];