Removed localhost
This commit is contained in:
parent
d2659172f7
commit
43867df262
|
@ -96,7 +96,7 @@ class Pdf
|
|||
*/
|
||||
public function getIndex()
|
||||
{
|
||||
$host = $this->getHost() ?: $this->request->getSchemeAndHttpHost();
|
||||
$host = $this->request->getSchemeAndHttpHost();
|
||||
|
||||
return $this->app->renderView('index.html.twig', [
|
||||
'renderPdf' => true,
|
||||
|
@ -126,7 +126,7 @@ class Pdf
|
|||
*/
|
||||
public function getCover()
|
||||
{
|
||||
$host = $this->getHost() ?: $this->request->getSchemeAndHttpHost();
|
||||
$host = $this->request->getSchemeAndHttpHost();
|
||||
return $this->app->renderView('cover.html.twig', [
|
||||
'baseUrl' => $host,
|
||||
'renderPdf' => true,
|
||||
|
|
Loading…
Reference in New Issue