mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fixes for live preview
This commit is contained in:
parent
8b588a55a5
commit
b506c293ed
@ -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…
Reference in New Issue
Block a user