mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
FIXED - Phantomjs Key
This commit is contained in:
parent
26162e8fb8
commit
0ef476411b
@ -278,7 +278,7 @@ class SetupController extends Controller
|
|||||||
private function testPhantom()
|
private function testPhantom()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$key = config('ninja.phantomjs_pdf_generation');
|
$key = config('ninja.phantomjs_key');
|
||||||
$url = 'https://www.invoiceninja.org/';
|
$url = 'https://www.invoiceninja.org/';
|
||||||
|
|
||||||
$phantom_url = "https://phantomjscloud.com/api/browser/v2/{$key}/?request=%7Burl:%22{$url}%22,renderType:%22pdf%22%7D";
|
$phantom_url = "https://phantomjscloud.com/api/browser/v2/{$key}/?request=%7Burl:%22{$url}%22,renderType:%22pdf%22%7D";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user