From e410a99f91154a1ec5fcc335f45cdb91a6b61ea9 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 27 Nov 2020 13:31:21 +1100 Subject: [PATCH] Phantom adjustment for preview --- app/Utils/PhantomJS/Phantom.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Utils/PhantomJS/Phantom.php b/app/Utils/PhantomJS/Phantom.php index a94c342160..7f9f5deb2e 100644 --- a/app/Utils/PhantomJS/Phantom.php +++ b/app/Utils/PhantomJS/Phantom.php @@ -91,7 +91,7 @@ class Phantom $key = config('ninja.phantomjs_key'); $phantom_url = "https://phantomjscloud.com/api/browser/v2/{$key}/?request=%7Bcontent:%22{$html}%22,renderType:%22pdf%22%7D"; $pdf = CurlUtils::get($phantom_url); - +info($pdf); $response = Response::make($pdf, 200); $response->header('Content-Type', 'application/pdf');