Merge pull request #6349 from turbo124/v5-develop
Fixes for live preview
This commit is contained in:
commit
6017471a99
1 changed files with 1 additions and 1 deletions
|
|
@ -266,7 +266,7 @@ class PreviewController extends BaseController
|
|||
|
||||
|
||||
$response = Response::make($file_path, 200);
|
||||
$response->header('Content-Type', 'application/pdf');
|
||||
$response->headers->set('Content-Type', 'application/pdf');
|
||||
|
||||
return $response;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue