Add logging to Phantom JS

This commit is contained in:
= 2021-02-02 20:33:02 +11:00
parent 883c11f12b
commit a20fcaf299

View File

@ -193,6 +193,9 @@ class Phantom
->build()
->getCompiledHTML(true);
if (config('ninja.log_pdf_html')) {
info($data['html']);
}
return view('pdf.html', $data);
}