update job producer
This commit is contained in:
parent
c73950ae14
commit
a43af3aa89
|
|
@ -33,9 +33,5 @@ class ScreenshotJob implements ShouldQueue
|
||||||
*/
|
*/
|
||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
file_put_contents(
|
|
||||||
public_path('pupeteer/' . time() . '.jpg'),
|
|
||||||
file_get_contents('http://puppeteer:4000?url=' . env('PUPPETEER_URL'))
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue